Skip to main content

api-wrappers-python

Source available: https://github.com/miiCard/api-wrappers-python Licensed under BSD 3-Clause licence (see LICENSE.txt)

Python wrapper classes around the miiCard API.

This repository houses the source for the latest version of the miiCard Consumers library available on PyPI.

See http://www.miicard.com/developers for more information.

What is miiCard

miiCard lets anybody prove their identity to the same level of traceability as using a passport, driver’s licence or photo ID. We then allow external web applications to ask miiCard users to share a portion of their identity information with the application through a web-accessible API.

What is the library for?

miiCard’s API is an OAuth-protected web service supporting SOAP, POX and JSON - documentation is available. The library wraps the JSON endpoint of the API, making it easier to make the required OAuth signed requests.

You can obtain a consumer key and secret from miiCard by contacting us on our support form, including the details listed on the developer site.

Pull the library into your own application by downloading the latest released version from PyPI.

Usage

You’ll need to implement your own OAuth exchange with miiCard.com’s OAuth endpoint to obtain an access token and secret for a user. Once you’ve got your consumer key and secret, access token and access token secret you can instantiate an API wrapper:

api = MiiCardOAuthClaimsService(“consumer_key”, “consumer_secret”,

“access_token”, “access_token_secret”)

Then make calls against it simply:

user_profile_response = api.get_claims().data

user_first_name = user_profile_response.data.first_name

Dependencies

The library takes a dependency on simplegeo-oauth2, but uses a patched version of it to correct a few issues.

Contributing

  • Use GitHub issue tracking to report bugs in the library

  • If you’re going to submit a patch, please base it off the development branch - the master reflects the latest version published to PyPI but may not necessarily be bleeding-edge

  • Join the miiCard.com developer forums to keep up to date with the latest releases and planned changes

Metadata

Release files for MiiCardConsumers 1.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MiiCardConsumers 1.7.0
File Size Uploaded Provenance
MiiCardConsumers-1.7.0.zip 13.4 kB Without provenance Details

Release files / MiiCardConsumers-1.7.0.zip

Download URL MiiCardConsumers-1.7.0.zip
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9e0ed886cbd077915764c51d01d96141340ea015dc560933d8078889a742f0cd
BLAKE2b-256 checksum
How to use checksums
2c27309d32fedb7f75845ffb6fea9cd6c9123e8928802e220165b5d0f1ec5110
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for MiiCardConsumers 1.7.0

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.

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