Runemetrics
Usage
from rs3_api import Runemetrics
runemetrics = Runemetrics()get_monthly_experience(username: str, skill_id)
Gets a players monthly experience stats for the last 12 months in a particular skill
Parameters
Type
username
str
skill_id
str
response = runemetrics.get_monthly_experience("Phyrexz", "defence")
print(response){
'monthlyXpGain': [
{
'skillId': 1,
'totalXp': 56921532,
'averageXpGain': 4743449,
'totalGain': 56921389,
'monthData': [
{
'xpGain': 0,
'timestamp': 1570843627278,
'rank': 0
},
{
'xpGain': 0,
'timestamp': 1573525627278,
'rank': 0
},
{
'xpGain': 0,
'timestamp': 1576117627278,
'rank': 0
},
{
'xpGain': 0,
'timestamp': 1578796027278,
'rank': 0
},
{
'xpGain': 0,
'timestamp': 1581474427278,
'rank': 0
},
{
'xpGain': 0,
'timestamp': 1583980027278,
'rank': 0
},
{
'xpGain': 0,
'timestamp': 1586654827278,
'rank': 0
},
{
'xpGain': 0,
'timestamp': 1589246827278,
'rank': 0
},
{
'xpGain': 747347,
'timestamp': 1593420305837,
'rank': 34454
},
{
'xpGain': 32142926,
'timestamp': 1596131627692,
'rank': 772
},
{
'xpGain': 24031116,
'timestamp': 1597936403839,
'rank': 1952
},
{
'xpGain': 0,
'timestamp': 1599874027278,
'rank': 0
}
],
'skillName': 'defence'
}
],
'loggedIn': 'false'
}get_quests(username: str)
Gets statistics and information on a players quests
Parameter
Type
username
str
response = runemetrics.get_quests('Phyrexz')
print(response){
'quests': [
{
'title': 'A Fairy Tale I - Growing Pains',
'status': 'COMPLETED',
'difficulty': 2,
'members': True,
'questPoints': 2,
'userEligible': True
},
{
'title': 'A Guild of Our Own (miniquest)',
'status': 'COMPLETED',
'difficulty': 3,
'members': True,
'questPoints': 0,
'userEligible': True
},
{
'title': 'A Shadow over Ashdale',
'status': 'COMPLETED',
'difficulty': 0,
'members': False,
'questPoints': 1,
'userEligible': True
},
# ... 100+ more items
]
}get_profile(username: str, activities: int)
Gets a player Runemetrics profile
Parameters
Type
Default
username
str
activities
int
25
Last updated
Was this helpful?