Skip to content

Instantly share code, notes, and snippets.

@jaames
Last active May 22, 2022 10:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaames/b213f44e82227e729ea8ba429325d452 to your computer and use it in GitHub Desktop.
Save jaames/b213f44e82227e729ea8ba429325d452 to your computer and use it in GitHub Desktop.
Baba Is You level editor API details

API

The API base URL is https://8778eno8ha.execute-api.eu-central-1.amazonaws.com

GET /prod/list_levels2

Returns the asset URL, the number of total pages in this list, and a list of level details

URL params

Param Required? Notes
category yes only featured known to work so far
page yes starts at 0

GET /prod/list_levels

Same as list_levels2 except that it doesn't include the total number of pages. Presumed to be deprecated?

GET /prod/get_level

Gets details for a given level

URL params

Param Required? Notes
level yes level ID

Data

The data base URL is https://babalevels3.s3.eu-central-1.amazonaws.com/

GET /<level id>.png

Returns the level thumbnail as a PNG image

GET /<level id>.l

Returns zlib-compressed level map data

GET /<level id>.ld

Returns zlib-compressed level data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment