Updated 07162022-152705
This project is a serverless API hosted on Vercel that retrieves some useful informations that aren't available from the official API (yet) about Shortcuts hosted on RoutineHub.
Heads over to https://rh-api.alombi.xyz/changelog and add a parameter to this URL, containing your shortcut's RH ID. For example https://rh-api.alombi.xyz/changelog?id=1
name
= the name of the shortcutupdates
= the number of updates the author madeversions
= an array that contains as many elements as the updates
value. Each element has these parameters:version
= version numberrelease_date
= the specific verision's release dateiOS
= the version's supported operating systemrelease_notes
= the version's release notesdownloads
= the specific version's downloads countHeads over to https://rh-api.alombi.xyz/shortcut and add a parameter to this URL, containing your shortcut's RH ID. For example https://rh-api.alombi.xyz/shortcut?id=1&icon=true
id
= the RoutineHub ID of the shortcutname
= the shortcut's namesubtitle
= the shortcut's subtitlehearts
= the total hearts numberdownloads
= the total downloads numbericon
= the shortcut's icon (base64 encoded). Not included by default.author
= the shortcut's author usernamecategories
= an array of minum 1 and maximum 2 elements containing shortcut's categoriesrelated
= an array with 2 or 3 shortcuts that are related to the shortcut. This parameter includes a shortcut authored by the same user and one from each category of the shortcut. Not included by default.The icon
url parameter is false
by default, and it's optional. If you want to receive the icon, include it as in the example (https://rh-api.alombi.xyz/shortcut?id=1&icon=true), if not set it to false
or remove the parameter.
The related
parameter is false
by default, and it's optional. If you want to receive related shortcuts, include it as in the example (https://rh-api.alombi.xyz/shortcut?id=1&related=true), if not set it to false
or remove the parameter. Take note that requesting related shortcuts may slow down the process a bit.
Heads over to https://rh-api.alombi.xyz/author and add a parameter to this URL, containing the author's RH username. For example https://rh-api.alombi.xyz/author?username=alombi
username
= the author's usernameavatar
= the link to the profile picbio
= the author's description (if present)total_shortcuts
= the number of authored shortcutstotal_downloads
= the total number of downloadstotal_hearts
= the total number of heartsdownloads_average
= the average of downloadshearts_average
= the average of heartscontacts
= an object structured like this:keybase
= linktwitter
= linkfacebook
= linkreddit
= linkyoutube
= linkgithub
= linkgitlab
= linkwebsite
= linkisMember
= a boolean that indicates if the user is a member (true
) or not (false
)isMod
= a boolean that indicates if the user is a mod (true
) or not (false
)The homepage endpoint has been deprecated due to the removal of trending shortcuts on RoutineHub homepage.
~~Heads over to https://rh-api.alombi.xyz/homepage~~
trending
= an array containing 6 elements~~new
= an array containing 6 elements~~recently-updated
= an array containing 6 elements~~~~Each array has the same elements' structure:~~
name
= the name of the shortcut~~id
= the RoutineHub ID of the shortcuts~~description
= the shortcut's brief description~~downloads
= the shortcut's downloads count~~hearts
= the shortcut's hearts count~~link
= the link to the shortcut's RoutineHub page~~api_link
= the link to the /shortcut
endpoint~~