Unofficial RoutineHub API

Updated 07102022-173604


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.

Documentation

Changelog (GET)

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

Parameters

  • name = the name of the shortcut
  • updates = the number of updates the author made
  • versions = an array that contains as many elements as the updates value. Each element has these parameters:
    • version = version number
    • release_date = the specific verision's release date
    • iOS = the version's supported operating system
    • release_notes = the version's release notes
    • downloads = the specific version's downloads count

Shortcut (GET)

Heads 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

Parameters

  • id = the RoutineHub ID of the shortcut
  • name = the shortcut's name
  • subtitle = the shortcut's subtitle
  • hearts = the total hearts number
  • downloads = the total downloads number
  • icon = the shortcut's icon (base64 encoded). Not included by default.
  • author = the shortcut's author username
  • categories = an array of minum 1 and maximum 2 elements containing shortcut's categories
  • related = 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.

    Icon

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.

Author (GET)

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

Parameters

  • username = the author's username
  • avatar = the link to the profile pic
  • bio = the author's description (if present)
  • total_shortcuts = the number of authored shortcuts
  • total_downloads = the total number of downloads
  • total_hearts = the total number of hearts
  • downloads_average = the average of downloads
  • hearts_average = the average of hearts
  • contacts = an object structured like this:
    • keybase = link
    • twitter = link
    • facebook = link
    • reddit = link
    • youtube = link
    • github = link
    • gitlab = link
    • website = 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)

Homepage (GET)

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

Parameters

  • 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

Report abuse