Compare commits

...

3 Commits
v1.0.1 ... main

Author SHA1 Message Date
61ea239cb0
whitespace fuckshit 2024-12-23 19:44:19 -05:00
347f869d2d
center logo 2024-12-23 19:40:26 -05:00
72b2cb7591
Added logo 2024-12-23 19:39:00 -05:00
3 changed files with 150 additions and 143 deletions

BIN
.screens/nanpa.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -1,4 +1,9 @@
# 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.
## Overview

View File

@ -1,5 +1,6 @@
#!/usr/bin/env python3
# North American Numbering Plan Administration (NANPA) API Client - Developed by acidvegas in Python (https://git.acid.vegas/nanpa)
# nanpa/client.py
import json
import logging
@ -14,6 +15,7 @@ class NanpaAPI:
self.base_url = 'https://api.nanpa.com/reports/public'
def _make_request(self, endpoint: str, params: dict = None) -> dict:
'''
Make a request to the NANPA API.