Compare commits
No commits in common. "main" and "v1.0.1" have entirely different histories.
Binary file not shown.
Before Width: | Height: | Size: 2.9 KiB |
@ -1,9 +1,4 @@
|
|||||||
# NANPA API Client
|
# NANPA API Client
|
||||||
|
|
||||||
<p align="center">
|
|
||||||
<img src="./.screens/nanpa.png">
|
|
||||||
</p>
|
|
||||||
|
|
||||||
A Python client for interacting with the North American Numbering Plan Administration (NANPA) public API system.
|
A Python client for interacting with the North American Numbering Plan Administration (NANPA) public API system.
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# North American Numbering Plan Administration (NANPA) API Client - Developed by acidvegas in Python (https://git.acid.vegas/nanpa)
|
# North American Numbering Plan Administration (NANPA) API Client - Developed by acidvegas in Python (https://git.acid.vegas/nanpa)
|
||||||
# nanpa/client.py
|
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import logging
|
import logging
|
||||||
@ -15,7 +14,6 @@ class NanpaAPI:
|
|||||||
|
|
||||||
self.base_url = 'https://api.nanpa.com/reports/public'
|
self.base_url = 'https://api.nanpa.com/reports/public'
|
||||||
|
|
||||||
|
|
||||||
def _make_request(self, endpoint: str, params: dict = None) -> dict:
|
def _make_request(self, endpoint: str, params: dict = None) -> dict:
|
||||||
'''
|
'''
|
||||||
Make a request to the NANPA API.
|
Make a request to the NANPA API.
|
||||||
|
Loading…
Reference in New Issue
Block a user