Skip to main content

Ipbase Python Client

Project description

Ipbase Python Client

Ipbase Python Client is the official Python Wrapper around the Ipbase API.

Installation

Install from pip:

pip install ipbase

Install from code:

pip install git+https://github.com/everapihq/ipbase-python.git

Usage

All ipbase API requests are made using the Client class. This class must be initialized with your API access key string. Where is my API access key?

In your Python application, import ipbase and pass authentication information to initialize it:

import ipbase
client = ipbase.Client('API_KEY')

Retrieve Status

print(client.status())

Retrieve IP Information

https://ipbase.com/docs/info

result = client.info()
# result = client.info('1.1.1.1', 'de')
print(result)

Contact us

Any feedback? Please feel free to contact our team.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipbase-0.1.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

ipbase-0.1-py3-none-any.whl (2.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page