Compare commits

..

No commits in common. "main" and "v1.0.1" have entirely different histories.
main ... v1.0.1

3 changed files with 140 additions and 147 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -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

View File

@ -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.