openapiipify
OpenAPI client for ipify, a simple public IP address API
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 6.1.1
- Package version: 6.1.1
- Generator version: 7.24.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://github.com/oapicf/openapi-ipify
Requirements.
Python 3.10+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/oapicf/openapi-ipify.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/oapicf/openapi-ipify.git)
Then import the package:
import openapiipify
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import openapiipify
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import openapiipify
from openapiipify.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api64.ipify.org
# See configuration.py for a list of all supported configuration parameters.
configuration = openapiipify.Configuration(
host = "https://api64.ipify.org"
)
# Enter a context with an instance of the API client
with openapiipify.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = openapiipify.DefaultApi(api_client)
format = 'format_example' # str | Response format (optional)
param_callback = 'param_callback_example' # str | JSONP callback function name (optional)
try:
# Get your public IP address
api_response = api_instance.get_ip(format=format, param_callback=param_callback)
print("The response of DefaultApi->get_ip:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_ip: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://api64.ipify.org
| Class | Method | HTTP request | Description |
|---|---|---|---|
| DefaultApi | get_ip | GET / | Get your public IP address |
Documentation For Models
Documentation For Authorization
Endpoints do not require authorization.
Author
Metadata
Release files for openapiipify 6.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| openapiipify-6.1.1.tar.gz | 23.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openapiipify-6.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.7 kB
Release files / openapiipify-6.1.1.tar.gz
| Download URL | openapiipify-6.1.1.tar.gz |
|---|---|
| Size | 23.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91b204ec9a046e498c72f197b918d53c67d698740568115c0ec5191607b1e44f
|
|
BLAKE2b-256 checksum How to use checksums |
457e7775eccbafdb272dadab374b2e799aa458b6558afb8403dc9abccb8bb014
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / openapiipify-6.1.1-py3-none-any.whl
| Download URL | openapiipify-6.1.1-py3-none-any.whl |
|---|---|
| Size | 24.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34d1fe46ecc27dbf04f9227080b08eb80f506b0881009ddecabf906901c70fde
|
|
BLAKE2b-256 checksum How to use checksums |
e89a92df67ffca80b112b319cbb85714eaa8af081bc989a8d1f6d5637373a61b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for openapiipify 6.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.