AppStore API for search and download?

I didn’t know whether to ask this question on StackExchange or here, but since it is not directly something to do with a specific code, I decided to ask it here.

I am looking for an AppStore API, official or third-party, that would enable me to both search (using keywords) for and download apps (free ones of course, using the the id like the one in https://itunes.apple.com/app/angry-birds-2/id880047117).

There is a third-party Google Play Unofficial Python API available, but does such a thing (preferably in Python) exist for the AppStore?