iTunes API for python scripting - python

I'm trying to develop some scripts for iTunes in python and actually i'm having quite a hard time getting the API information.
I'm using the win32com.client module but i would really need to get all the specifications, methods and details.
There are a few examples but I need some extra data......
thanks!!!

iTunes com interface documentation is available at http://developer.apple.com/sdk/itunescomsdk.html

I know it has been a long time since this question was asked. But I find out some resource for later reference.
REST API:
https://developer.apple.com/documentation/appstoreconnectapi/
Python Wrapper:
https://pypi.org/project/appstoreconnect

Run dir(my_com_client) to get a list of available methods.

Here's a Python library to access iTunes API: http://pypi.python.org/pypi/python-itunes/1.0

Related

how to use import library e.g request library

ok so I am really new in python and I need to use a library called import requests. In this API I saw the documentation on its website and there are many paths that I can use, but I don't know the syntax on how to use them. Can someone please help me out on how to use this API

Use in AppNexus API

I need to build a code that connects to AppNexus API, to create/update segments, and upload users lists.
I thought the easy way will be by Python, since I found this library: https://appnexus-client.readthedocs.io/en/feature-readthedocs/get_started.html
However, all the examples I find online are exactly the same as in the link - a very shallow use in one option that doesn't relates to the real abilities this tool has.
Does anyone knows if there's a good documentation out there for AppNexus?
Maybe someone already tried it and can recommend a nice and easier way to connect to their API (I saw in AppNexus documentation a large use in curl commands)?
Thank you!
You can use Postman or terminal to authenticate into AppNexus and then run the curl commands, AppNexus Segments Doc has samples on how to do this here: (https://wiki.appnexus.com/display/api/Segment+Service) You can also use a library to turn curl commands into your preferred programming language for example in Ruby you can use curl-to-ruby: (https://jhawthorn.github.io/curl-to-ruby/)

List project RhodeCode

my problem is the following one: I would want to list all the projects which are present on a RhodeCode instance through Python package. However, I do not find the necessary information within the documentation. Is it someone would have a solution?
RhodeCode has a JSON-RPC api. You can use python requests lib to fetch all list of projects, read the JSON and then iterate over the results.
The JSON api call to make is get_repos. Check out RhodeCode docs on the API topic, and how to call it. Also if you need more detailed example how to call the API, look at the open-source CLI script here (all in Python):
https://code.rhodecode.com/rhodecode-tools-ce/files/dc1eb60fcd9cadb8be52a56d56d561d731e09d0b/rhodecode_tools/lib/api.py#L218

Python and the Airtable API

Can anyone find an exampple of the API for Airtable.com being used in python.
There is documentation but I'm not sure how to get started.
Note, they don't have a client library.
There is one project on github:
https://github.com/nicocanali/airtable-python
Airtable Python
Python interface to the Airtable's REST API - https://airtable.com
I made one similar to the original one by nicocanali but organized slightly different: https://github.com/gtalarico/airtable-python-wrapper

Consuming Zanox web service in a Django project

I want to integrate Zanox feeds in a Django project. Unfortunately there seem to be no client library implementations in Python.
Or are there?
What is the next best alternative to a Python library? Using the Ruby version?
Would have been useful to say what Zanox was in your question. For those interested, they appear to be an advertising network.
Anyway, they do seem to expose a pretty simple XML or JSON feed, as documented here. It looks pretty simple to get that using urllib2 or requests and parse it using json.load.
You can use https://pypi.python.org/pypi/python-zanox-api/ in a custom management command.

Categories