rh-api is an unofficial API that scrapes informations about shortcuts hosted on RoutineHub, the most popular platform for sharing iOS shortcuts. This project tries to create an alternative to the official API using web scraping
and offering lots of data that aren't available in the current (V1
) version of the official API.
The application is built with Next.js and Typescript, and hosted on Vercel.
The base url is https://rh-api.alombi.xyz/changelog. The required parameter for this URL is 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 theupdates
value. Each element has these parameters:version
= version numberdownload_url
= (NEW in 2.0) the url to download the specific versionrelease_date
= the specific verision's release dateiOS
= the version's supported operating systemrelease_notes
= the version's release notesdownloads
= the specific version's downloads count
The base url is https://rh-api.alombi.xyz/search. The required parameter for this URL is your search term. For example https://rh-api.alombi.xyz/search?q=mediakit.
results
= contains an array with the search resultsname
= the name of the shortcutid
= the RoutineHub ID of the shortcutsdescription
= the shortcut's brief descriptiondownloads
= the shortcut's downloads counthearts
= the shortcut's hearts countlink
= the link to the shortcut's RoutineHub pageapi_url
= the url to the/shortcut
endpointroutinehub_api_url
(NEW in 2.0) url to the official API
The base url is https://rh-api.alombi.xyz/shortcut. The required parameter for this URL is your shortcut's RH ID. For example https://rh-api.alombi.xyz/shortcut?id=1.
id
= the RoutineHub ID of the shortcutname
= the shortcut's namedescription
= the shortcut's brief descriptionhearts
= the total hearts numberdownloads
= the total downloads numberauthor
= object containingusername
= author's usernamepage_url
= (NEW in 2.0) url to the author's page on RoutineHubapi_url
= (NEW in 2.0) url to the/author
endpoint
latest_version
= object containingversion
= (NEW in 2.0) latest versionupdated
= (NEW in 2.0) date of the last update
categories
= an array of minum 1 and maximum 2 elements containing shortcut's categoriesiOS
= the iOS version the current version of the shortcut is made fordownload_url
= the shortcut's download url
icon
andrelated
were removed in 2.0.
The base url is https://rh-api.alombi.xyz/author. The required parameter for this URL is 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)stats
= object containingtotal_shortcuts
= the number of authored shortcutstotal_downloads
= the total number of downloadsdownloads_average
= the average of downloads
contacts
= an object structured like this:keybase
= linktwitter
= linkfacebook
= linkreddit
= linkyoutube
= linkgithub
= linkgitlab
= linkwebsite
= link
isMember
= 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
)
total_hearts
andhearts_average
were removed in 2.0