Skip to main content

Downloads all available games from the bundle repository.

Project description

EvolutionGaming BundleShare Downloader

EvolutionGaming

A command line utility tool for downloading bundle files from EvolutionGaming Bundle Repository.

Installation

You can either download the package from pip (assuming you have already pip installed in your system):

sudo pip install evolutiongaming-bundle-downloader

or you can run the following command to manually install the package:

sudo python setup.py install evolutiongaming

Usage

This package can both be used with python shell or as a command line script:

>>> from evolutiongaming import downloader
>>>
>>> client = downloader.Downloader(username="<your email address>", password="<your password>", client_id="<your client id>")
>>> token = client.authentication_token()
>>> secret = client.authorization_token(token)
>>> 
>>> client.download_files(secret)
[(u'bundle-6.20200528.55355.39-52d3154ff9-native.zip',
  u'https://bundle-repo.evo-games.com/api/download/bundle-6.20200528.55355.39-52d3154ff9-native.zip'),
 (u'bundle-6.20200228.164151-4b4d16b9.zip',
  u'https://bundle-repo.evo-games.com/api/download/bundle-6.20200228.164151-4b4d16b9.zip'),
 (u'bundle-6.20200326.100947-707f2c25.zip',
  u'https://bundle-repo.evo-games.com/api/download/bundle-6.20200326.100947-707f2c25.zip'),
 (u'bundle-6.20191126.154224-50b1457e.zip',
  u'https://bundle-repo.evo-games.com/api/download/bundle-6.20191126.154224-50b1457e.zip'),
 (u'bundle-6.20191121.111140-2c066ecb.zip',
  u'https://bundle-repo.evo-games.com/api/download/bundle-6.20191121.111140-2c066ecb.zip')]
>>>
>>> client.download_file("medusa_scratch.zip", "https://bundle-repo.evo-games.com/api/download/bundle-6.20200528.55355.39-52d3154ff9-native.zip", secret, directory="/tmp", timeout=10)
>>> # Downloads to game to path: /tmp/medusa_scratch.zip

You can also download all games at once from the command line as follows:

$ python downloader.py --help
usage: downloader.py [-h] [-i CLIENT_ID] [-o OUTPUT_DIRECTORY] [-p PASSWORD]
                     [-t TIMEOUT] [-u USERNAME] [-v]

optional arguments:
  -h, --help            show this help message and exit
  -i CLIENT_ID, --client-id CLIENT_ID
  -o OUTPUT_DIRECTORY, --output-directory OUTPUT_DIRECTORY
  -p PASSWORD, --password PASSWORD
  -t TIMEOUT, --timeout TIMEOUT
                        timeout when downloading games
  -u USERNAME, --username USERNAME
  -v, --verbose         increase output verbosity
$ python downloader.py --username=<username> --password=<password> --client-id=<client_id> --verbose

INFO:root:Retrieving authentication token: johndoe@evogaming.com/c******************u
INFO:root:Retrieved authentication token: 20111Axht7AH61RWKHtsDg0K3aR7uBFPwOmHrY4OICK85tYXlCmRU8T
INFO:root:Retrieving authorization token: 20111Axht7AH61RWKHtsDg0K3aR7uBFPwOmHrY4OICK85tYXlCmRU8T
INFO:root:Retrieved authorization token: eyJraWQiOiJ4eGZ2VXdfc0h5MlJScDNTZDh1OU9NMGtBS3ZoUmdXb1RESE1VbWtlQzZRIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiIwMHUzeWMybDgzNWJ3b2szWTBpNyIsIm5hbWUiOiJSdWZhdCBNaXJ6YSIsImxvY2FsZSI6ImVuLVVTIiwiZW1haWwiOiJydWZhdC5taXJ6YUBiZXRidWxsLmNvbSIsInZlciI6MSwiaXNzIjoiaHR0cHM6Ly9ldm9sdXRpb25nYW1pbmcub2t0YS1lbWVhLmNvbSIsImF1ZCI6IjBvYTMybnFiMGtQbXNraFVNMGk3IiwiaWF0IjoxNTkzMTA3ODE2LCJleHAiOjE1OTMxMTE0MTYsImp0aSI6IklELmNGOGZ0MDlJSDJfS05UUUpWajZDZ0J6SHJPTmFTR0pLaDNVU1hhMVlfZ0EiLCJhbXIiOlsicHdkIl0sImlkcCI6IjAwbzFoYnBja2FnSFZDM0lMMGk3Iiwibm9uY2UiOiJzdGF0aWNOb25jZSIsInByZWZlcnJlZF91c2VybmFtZSI6InJ1ZmF0Lm1pcnphQGJldGJ1bGwuY29tIiwiZ2l2ZW5fbmFtZSI6IlJ1ZmF0IiwiZmFtaWx5X25hbWUiOiJNaXJ6YSIsInpvbmVpbmZvIjoiQW1lcmljYS9Mb3NfQW5nZWxlcyIsInVwZGF0ZWRfYXQiOjE1OTAwNDkzNzAsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJhdXRoX3RpbWUiOjE1OTMxMDc4MTZ9.VKNe_xl-HDifIVc12uWnTi85xY-X2qYK3jrdoFE6xo4X9qAcT3caEWQcBF35-VU3GNZ7I4UwmAspJLpvab_7mydAf0s1hJ2HZv2zimaWFouiAFBA17C2QC3f0P34OACNhTqSz3DVdEtukZNVLL7KsXvBQFL6oPOTJhFmHhqtZfG1O_khX4g6xY5oDvDYgv4F9XG5r54ixwniGTh8t60EVCsYHQ4CErhcPrxaaLm6EXWLEqHm1N6sZwxqeLE0Qi9Qtgg1Sq0bQn_pKOv6NAP9ljI-uzsI1OPfz2ea6KhwTIpRH5vuFBscvBSzsr_cwIRkqhPKIYtUJyf4DyGK1fF5Zg
INFO:root:Retrieving list of available games: https://bundle-repo.evo-games.com/api/list_files
INFO:root:Retrieved:
 * bundle-6.20200528.55355.39-52d3154ff9-native.zip
 * bundle-6.20200228.164151-4b4d16b9.zip
 * bundle-6.20200326.100947-707f2c25.zip
 * bundle-6.20191126.154224-50b1457e.zip
 * bundle-6.20191121.111140-2c066ecb.zip
INFO:root:Downloading https://bundle-repo.evo-games.com/api/download/bundle-6.20200528.55355.39-52d3154ff9-native.zip into /tmp/bundle-6.20200528.55355.39-52d3154ff9-native.zip
INFO:root:Download finished: /tmp/bundle-6.20200528.55355.39-52d3154ff9-native.zip
INFO:root:Downloading https://bundle-repo.evo-games.com/api/download/bundle-6.20200228.164151-4b4d16b9.zip into /tmp/bundle-6.20200228.164151-4b4d16b9.zip
INFO:root:Download finished: /tmp/bundle-6.20200228.164151-4b4d16b9.zip
INFO:root:Downloading https://bundle-repo.evo-games.com/api/download/bundle-6.20200326.100947-707f2c25.zip into /tmp/bundle-6.20200326.100947-707f2c25.zip
INFO:root:Download finished: /tmp/bundle-6.20200326.100947-707f2c25.zip
INFO:root:Downloading https://bundle-repo.evo-games.com/api/download/bundle-6.20191126.154224-50b1457e.zip into /tmp/bundle-6.20191126.154224-50b1457e.zip
INFO:root:Download finished: /tmp/bundle-6.20191126.154224-50b1457e.zip
INFO:root:Downloading https://bundle-repo.evo-games.com/api/download/bundle-6.20191121.111140-2c066ecb.zip into /tmp/bundle-6.20191121.111140-2c066ecb.zip
INFO:root:Download finished: /tmp/bundle-6.20191121.111140-2c066ecb.zip

LICENSE

Copyright 2020 © Ozgur Vatansever

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

evolutiongaming-bundle-downloader-1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file evolutiongaming-bundle-downloader-1.0.tar.gz.

File metadata

  • Download URL: evolutiongaming-bundle-downloader-1.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/2.7.16

File hashes

Hashes for evolutiongaming-bundle-downloader-1.0.tar.gz
Algorithm Hash digest
SHA256 076b5d33307737ede827d3b12b589d24e8e4e632d5bbfd5c7abf8f60efe14d41
MD5 f61d17fc05c5da144bb147555aad2911
BLAKE2b-256 3189d07d1c151724299914ce1179efd516737560f05762126fee0812c3581928

See more details on using hashes here.

File details

Details for the file evolutiongaming_bundle_downloader-1.0-py3-none-any.whl.

File metadata

  • Download URL: evolutiongaming_bundle_downloader-1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/2.7.16

File hashes

Hashes for evolutiongaming_bundle_downloader-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f05d34e36d00d1e405f48d0217ee7cb0077c225a71f6020c3b0559625715736d
MD5 ccdeccbc25e53e75ba9658527eae615b
BLAKE2b-256 39351ed683a5f1821a1e6bbac71b4fc0554a420652b09f673f75eb077ebd6981

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page