Skip to main content

informations

Allow to access the apptweak-io api easily.

Github

https://github.com/apptweak/apptweak-api-python-library

Required

You will need an api_key from https://www.apptweak.io/

install

pip install apptweak --user

use

import apptweak

# your apptweak-io API key
apptweak.API_KEY = "XYZ"

# the id of your app (ios or android)
app_id = "686449807"

# print(device.end-point.__doc__) tells me whitch arguments and params the method needs
end_point_documentation = apptweak.Ios.power.__doc__

# depending on your app id (params specific to the device.end-point)
params={"country":"us","start_date":"2018-10-03","end_date":"2018-10-10","device":"iphone"}

# depending on your app id (if ios app_id choose the ios end-points)
json_response = apptweak.Ios.power(app_id,params)

end-points

all params

application_id = "1234" # ios or android app_id

sort = "most_useful" # (most_useful | most_recent | most_critical | most_positive)

category_id = "4" # ios or android category id

params={
    "country":"be", # ISO Alpha-2
    "language":"be", # ISO Alpha-2
    "device":"iphone" # (iphone | ipad)
    "start_date":"2019-01-04", # YYYY-MM-DD
    "end_date":"2019-05-24", # YYYY-MM-DD
    "max-age":"96040", # integer in seconds >0
    "min_rating":"1", # integer >= 1 && <= 5
    "max_rating":"5", # integer >= 1 && <= 5
    "term":"game", # string (the term of the search)
    "from":"42", # integer > 0 (like an offset)
    "type":"free", # (free | paid | grossing)
    "num":"3", # integer > 0 ( number of result)
    "size":"40", # integer > 0 (size of the result)
    "keywords":["games","fun",], # list of string, max 10
    "applications":["1234","4567",] # list of app_ids
}

To use the following end point

apptweak.Ios.title_of_end-point(options,params_dict)
or
apptweak.Android.title_of_end-point(options,params_dict)

!! Some params, options or end-points are specific to Ios or Android !!

metadata

  • application_id
  • params
    • country
    • language
    • device ( IOS ! )
    • max-age

ratings

  • application_id
  • params
    • country ( IOS ! )
    • start_date
    • end_date

rankings

  • application_id
  • params
    • country ( IOS ! )
    • device ( IOS ! )
    • start_date
    • end_date

power

  • application_id
  • params
    • country
    • device ( IOS ! )
    • start_date
    • end_date

backlinks ( Android ! )

  • application_id

donwloads

  • application_id
  • params
    • country ( IOS ! )
    • device ( IOS ! )
    • start_date
    • end_date

revenues ( Ios ! )

  • application_id
  • params
    • country
    • device
    • start_date
    • end_date

reviews

  • application_id
  • params
    • country ( Ios ! )
    • language ( Android ! )

searches

  • application_id
  • params
    • country
    • language
    • device ( Ios ! )
    • term
    • num

top_charts

  • application_id
  • category_id
  • params
    • country
    • language
    • device ( Ios ! )
    • type
    • term

top_displayed_reviews

  • application_id
  • sort_type
  • params
    • country
    • size

filtered_reviews

  • application_id
  • params
    • min_rating
    • max_rating
    • start_date
    • end_date
    • term
    • from
    • size

reviews_stats

  • application_id
  • params
    • min_rating
    • max_rating
    • start_date
    • end_date
    • term

app_top_keywords

  • application_id
  • params
    • country
    • language
    • device ( Ios ! )

keywords_stats

  • application_id
  • params
    • country
    • language
    • keywords
    • device ( Ios ! )

keywords_competitiors

  • application_id
  • params
    • country
    • language
    • device ( Ios ! )

keywords_ranking_competitors

  • application_id
  • params
    • country
    • language
    • start_date
    • end_date
    • keywords
    • applications
    • device ( Ios ! )

category_top_keywords

  • application_id
  • category_id
  • params
    • country
    • language
    • type
    • device ( Ios ! )

keywords_trending ( Ios ! )

  • application_id
  • params
    • country
    • language
    • device

keywords_volume_history ( Ios ! )

  • application_id
  • params
    • country
    • language
    • start_date
    • end_date
    • type

Metadata

Release files for apptweak 2.0.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 apptweak 2.0.0
File Size Uploaded Provenance
apptweak-2.0.0.tar.gz 9.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for apptweak 2.0.0
File Interpreter ABI Platform
apptweak-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.5 kB

Release files / apptweak-2.0.0.tar.gz

Download URL apptweak-2.0.0.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
86bdf629225829bc7ee9cb0772a875512ec58854402d18fd40d2d4cda26ded86
BLAKE2b-256 checksum
How to use checksums
a7c35640598117d8f8aa933908cc1f530724871e0ee0d5811d8fe6f9ea5bf85f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / apptweak-2.0.0-py3-none-any.whl

Download URL apptweak-2.0.0-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0aede9986747a947368662749607e9d6309a00235e3d806ab83d2c0d5f6dad69
BLAKE2b-256 checksum
How to use checksums
0bff41d5a94d05680e16b5c61d2e320580db5e3c261bb598d22fd6387d8f3d5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Security for apptweak 2.0.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.

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