All Projects → youknowone → Itunes Iap

youknowone / Itunes Iap

Licence: other
Apple iTunes In-app purchase verification tool

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Itunes Iap

Itunespy
🐍 A simple library to fetch data from the iTunes Store API made for Python >= 3.5
Stars: ✭ 47 (-62.7%)
Mutual labels:  itunes, pypi
Alltomp3
Node module to download and convert in MP3 with tags an online video
Stars: ✭ 120 (-4.76%)
Mutual labels:  itunes
Neptunes
simple and reliable Last.fm scrobbler for iTunes and Spotify for macOS
Stars: ✭ 98 (-22.22%)
Mutual labels:  itunes
Ytmdl
A simple app to get songs from YouTube in mp3 format with artist name, album name etc from sources like iTunes, Spotify, LastFM, Deezer, Gaana etc.
Stars: ✭ 2,070 (+1542.86%)
Mutual labels:  itunes
Grest
Build REST APIs with Neo4j and Flask, as quickly as possible!
Stars: ✭ 102 (-19.05%)
Mutual labels:  pypi
Decryptlogin
APIs for loginning some websites by using requests.
Stars: ✭ 1,861 (+1376.98%)
Mutual labels:  pypi
Slack cleaner2
📝 Python3 module for deleting Slack messages and files using the Slack REST API
Stars: ✭ 92 (-26.98%)
Mutual labels:  pypi
Purerpc
Asynchronous pure Python gRPC client and server implementation supporting asyncio, uvloop, curio and trio
Stars: ✭ 125 (-0.79%)
Mutual labels:  pypi
Best Of Python
🏆 A ranked list of awesome Python open-source libraries and tools. Updated weekly.
Stars: ✭ 1,869 (+1383.33%)
Mutual labels:  pypi
Linuxacademy Dl
Download videos from Linux Academy (linuxacademy.com) for personal offline use
Stars: ✭ 111 (-11.9%)
Mutual labels:  pypi
Norepeat
The norepeat package contains some magical function, tools
Stars: ✭ 111 (-11.9%)
Mutual labels:  pypi
Mal
MAL: A MyAnimeList Command Line Interface [BROKEN: BLAME MyAnimeList]
Stars: ✭ 104 (-17.46%)
Mutual labels:  pypi
Freenom Dns Updater
A tool to update freenom's dns records
Stars: ✭ 117 (-7.14%)
Mutual labels:  pypi
Rain
🌧️ A live example to illustrate python packaging, testing, building, & deploying
Stars: ✭ 99 (-21.43%)
Mutual labels:  pypi
Rectorch
rectorch is a pytorch-based framework for state-of-the-art top-N recommendation
Stars: ✭ 121 (-3.97%)
Mutual labels:  pypi
Carol Xamarin
A minimal and beautiful lyrics app for macOS built with Xamarin and C#
Stars: ✭ 97 (-23.02%)
Mutual labels:  itunes
Yakutils
🐃 Yet another toolbox of Python 3 helper functions.
Stars: ✭ 111 (-11.9%)
Mutual labels:  pypi
Tinvest
Тинькофф Инвестиции, tinkoff, python, aiohttp, requests, pydantic
Stars: ✭ 115 (-8.73%)
Mutual labels:  pypi
Gml
Auto Data Science - Python Library.
Stars: ✭ 125 (-0.79%)
Mutual labels:  pypi
Swarmlib
This repository implements several swarm optimization algorithms and visualizes them. Implemented algorithms: Particle Swarm Optimization (PSO), Firefly Algorithm (FA), Cuckoo Search (CS), Ant Colony Optimization (ACO), Artificial Bee Colony (ABC), Grey Wolf Optimizer (GWO) and Whale Optimization Algorithm (WOA)
Stars: ✭ 121 (-3.97%)
Mutual labels:  pypi

itunes-iap v2


Python 2 & 3 compatible! Even with :mod:`asyncio` support!

.. image:: https://travis-ci.org/youknowone/itunes-iap.svg?branch=master
    :target: https://travis-ci.org/youknowone/itunes-iap
.. image:: https://coveralls.io/repos/github/youknowone/itunes-iap/badge.svg?branch=master
    :target: https://coveralls.io/github/youknowone/itunes-iap?branch=master

- Source code: `<https://github.com/youknowone/itunes-iap>`_
- Documentation: `<http://itunes-iap.readthedocs.io/>`_
- Distribution: `<https://pypi.python.org/pypi/itunes-iap/>`_


Quickstart
----------

Create request to create a request to itunes verifying api.

.. sourcecode:: python

   >>> import itunesiap
   >>> try:
   >>>     response = itunesiap.verify(raw_data)  # base64-encoded data
   >>> except itunesiap.exc.InvalidReceipt as e:
   >>>     print('invalid receipt')
   >>> print response.receipt.last_in_app.product_id  # other values are also available as property!

The common attributes are:
    `product_id`, `original_transaction_id` and `quantity`.

See the full document in:
    - :func:`itunesiap.verify`: The verifying function.
    - :class:`itunesiap.receipt.Receipt`: The receipt object.


asyncio
-------

.. sourcecode:: python

   >>> import itunesiap
   >>> response = await itunesiap.aioverify(raw_data)  # verify -> aioverify

The other parts are the same.

See the full document in:
    - :func:`itunesiap.aioverify`: The verifying function.


Installation
------------

PyPI is the recommended way.

.. sourcecode:: shell

    $ pip install itunes-iap

To browse versions and tarballs, visit:
    `<https://pypi.python.org/pypi/itunes-iap/>`_


Apple in-review mode
--------------------

In review mode, your actual users who use older versions want to verify in
production server but the reviewers in Apple office want to verify in sandbox
server.

Note: The default env is `production` mode which doesn't allow any sandbox
verifications.

You can change the verifying mode by specifying `env`.

.. sourcecode:: python

    >>> # review mode
    >>> itunesiap.verify(raw_data, env=itunesiap.env.review)


Note for v1 users
-----------------

There was breaking changes between v1 and v2 APIs.

- Specify version `0.6.6` for latest v1 API when you don't need new APIs.
- Or use `import itunesiap.legacy as itunesiap` instead of `import itunesiap`. (`from itunesiap import xxx` to `from itunesiap.legacy import xxx`)


Contributors
------------

See https://github.com/youknowone/itunes-iap/graphs/contributors
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].