Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.0.1-pre.0
  • Package version: 6.0.1-pre.0
  • 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

blah+oapicf@cliffano.com

Download files

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

Source Distribution

openapiipify-6.0.1rc0.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openapiipify-6.0.1rc0-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

Details for the file openapiipify-6.0.1rc0.tar.gz.

File metadata

  • Download URL: openapiipify-6.0.1rc0.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.14.4

File hashes

Hashes for openapiipify-6.0.1rc0.tar.gz
Algorithm Hash digest
SHA256 77a2137450ce280495fd577273d3403899c3d92e1a66070359169c0eb6eedb1a
MD5 5264588d3c70790cc321bf7bfcf37669
BLAKE2b-256 2e4aa714d3f6a2637dd9992594c847b5c68cb8cd4a0d7571ecb7f70c6155e7e1

See more details on using hashes here.

File details

Details for the file openapiipify-6.0.1rc0-py3-none-any.whl.

File metadata

File hashes

Hashes for openapiipify-6.0.1rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 687eebc2fcac0b6a7e1a52a84b3358d8c0dba2d0e3198646f2fadf509dcf1578
MD5 36f420a011964db0e66ab64b157444bc
BLAKE2b-256 9aa3a2ecfe1916796cd1430e8245069d770b2f96ba82343c12fe2ccf697e2361

See more details on using hashes here.

Release history Release notifications | RSS feed

6.1.1

2 files

This release

6.0.1rc0 This release

2 files

6.0.0

2 files

5.3.0

1 file

5.2.0

1 file

5.1.0

1 file

5.0.0

1 file

4.0.0

1 file

3.3.0

3 files

3.2.1

3 files

3.2.0

3 files

3.0.0

3 files

2.0.0

3 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page