Skip to main content

Country Calling Code is a simple tool for getting the country's international dialing codes. It returns the country's international dialing codes.

Project description

Country Calling Code API

Country Calling Code is a simple tool for getting the country's international dialing codes. It returns the country's international dialing codes.

Build Status Code Climate Prod Ready

This is a Python API Wrapper for the Country Calling Code API


Installation

pip install apiverve-countrycallingcode

Configuration

Before using the callingcode API client, you have to setup your account and obtain your API Key.
You can get it by signing up at https://apiverve.com


Usage

The Country Calling Code API documentation is found here: https://docs.apiverve.com/api/callingcode.
You can find parameters, example responses, and status codes documented here.

Setup

# Import the client module
from apiverve_countrycallingcode.apiClient import CallingcodeAPIClient

# Initialize the client with your APIVerve API key
api = CallingcodeAPIClient("[YOUR_API_KEY]")

Perform Request

Using the API client, you can perform requests to the API.

Define Query
query = { "name": "FR" }
Simple Request
# Make a request to the API
result = api.execute(query)

# Print the result
print(result)
Example Response
{
  "status": "ok",
  "error": null,
  "data": {
    "country": "France",
    "officialName": "French Republic",
    "countryCode": "FR",
    "callingcodes": [
      "+33"
    ]
  },
  "code": 200
}

Customer Support

Need any assistance? Get in touch with Customer Support.


Updates

Stay up to date by following @apiverveHQ on Twitter.


Legal

All usage of the APIVerve website, API, and services is subject to the APIVerve Terms of Service and all legal documents and agreements.


License

Licensed under the The MIT License (MIT)

Copyright (©) 2024 APIVerve, and Evlar LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Download files

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

Source Distribution

apiverve_countrycallingcode-1.1.7.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

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

apiverve_countrycallingcode-1.1.7-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file apiverve_countrycallingcode-1.1.7.tar.gz.

File metadata

File hashes

Hashes for apiverve_countrycallingcode-1.1.7.tar.gz
Algorithm Hash digest
SHA256 7f69d6dc44afc1de0b27569fc0248760e3e3458815b6b5b3cbd52c433f48da95
MD5 df7ee1e3d06049a56fd988d2d78236c6
BLAKE2b-256 2cac041593e72f3355f935938fb5d2fad75f664054b78d9e2eaab838fb2f14e2

See more details on using hashes here.

File details

Details for the file apiverve_countrycallingcode-1.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for apiverve_countrycallingcode-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6c1fa19e2a9ee714e12fb87a26ffa8f20ef13c6d067f661d9ce0fd77a4ce47b7
MD5 b851dbdf493ccc1306d99315f078900a
BLAKE2b-256 524a8fa361e470fdbea834a684e1f3990b51cc757dc5740bc28237a161599875

See more details on using hashes here.

Supported by

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