Skip to main content

API for the Relics Run website.

Project description

Relics.run API

PyPI PyPI - Python Version PyPI - Format PyPI - License

This is an unofficial API for the Relics.run website.

The API is currently in development and is subject to change. Through the API, you can access the same data that is available on the website. This API only facilitates the retrieval of data through functions.

Usage

To get the index, you can use the following code:

import relics_run_api as r_api

# Get the index of relics.run
index = r_api.get_index()

# Get the list of unvaulted relics (for example)
unvaulted = index["non_vaulted"]

print(unvaulted) # ['Axi G10', 'Lith S15', 'Neo S17', ...]

Relics.run has a few endpoints that can be accessed through this API.

https://relics.run/index/

  • get_index() - Get the index
  • get_index_price_data() - Get the price data of the index
  • get_index_sub_type_data() - Get the sub type data of the index

https://relics.run/export/

  • :warning: Currently not implemented (and not planned)

https://relics.run/history/

  • get_history_dates() - Get the available dates for the history
  • get_history(date: date) - Get the history for a specific date

https://relics.run/market_data/

  • get_market_data_item_ids() - Get the available item ids for the market data
  • get_market_data_item_info() - Get the list of item info for which there is data
  • get_market_data_items() - Get the market data for all items

https://relics.run/output/

  • get_output_type_dict() - Get the list of types from relics.run
  • get_output_wfm_items_categorized() - Get a list of items from the warframe market, categorized by type

Additionally, there are some utility functions and constants available:

  • RELIC_RARITY - A dictionary containing the drop chances for each rarity of a relic

Credits

  • Relics.run for providing the data
  • TheLostGuthix for the help with the API

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

relics_run_api-0.1.1.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

relics_run_api-0.1.1-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file relics_run_api-0.1.1.tar.gz.

File metadata

  • Download URL: relics_run_api-0.1.1.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/6.3.8-100.fc37.x86_64

File hashes

Hashes for relics_run_api-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a231d6d9473e00ddb76c0e85e9caa4097f1c5461b627a6e039b9a549fa0b1ac9
MD5 8a90ca43d70abaed9aad57c3269866b8
BLAKE2b-256 e23265a6bb93a39dc27c4c1f23963cf1c67474424f2722ce9fa25a936a5a18f0

See more details on using hashes here.

File details

Details for the file relics_run_api-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: relics_run_api-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/6.3.8-100.fc37.x86_64

File hashes

Hashes for relics_run_api-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8dc25224287aecc21fc236d047840f7aee14e08ae18d768f2807e8fb089322fe
MD5 38da3fc7accb9d63a6c8abe728abd211
BLAKE2b-256 46081bd8b85459c1813305089894b629d5a438b6693cd5774e5491d786b3bda0

See more details on using hashes here.

Supported by

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