RunesAPI is a simple open source API for interacting with various runic systems.
RunesAPI can be used fully locally with a docker image as depicted below
with docker-compose
:
# TODO
or you can simply call the public API. The public API will have more restrictions in place than the local copy but if you only want to read data the base url can be accessed at https://runesapi.com
If you are running this locally within docker you'll have access to the full suite of functions available such as adding your own runes, or changing rune names to match what you may be more familiar with.
Documentation for all endpoints are below, but if you intend to simply use the
public http site we offer you will be restricted to read only endpoints like
find
.
It should be noted that the GET
endpoints are expecting query parameters whereas
the POST
, PUT
and DELETE
endpoints are expecting a request body.
The complete list of endpoints is below:
Find runes. Optionally filter by aett, by default this action return all runes.
GET https://runesapi.com/find
- name - optional
[string]
- aett - optional
[string]
- Accepted Values -
freya
|heimdall
|tyr
- This also can take a comma delimited string of aettir like
'freya,heimdall
to return a combination of runes
- Accepted Values -
Provided there are no schema errors with your input the output of this function will be as follows:
{
"count": number,
"runes": [
{ "name": string, "transliteration": string, "aett": string }
{ "name": string, "transliteration": string, "aett": string }
]
}
Add a new rune to an aett. The name must be unique.
POST https://runesapi.com/add
- name - required
[string]
- aett - required
[string]
- Accepted Values -
freya
|heimdall
|tyr
- Accepted Values -
- transliteration - optional
[string]
Remove a rune by its name.
DELETE https://runesapi.com/remove
- name - required
[string]
Update a rune by its name. You cannot use this endpoint to rename a rune.
PUT https://runesapi.com/update
- name - required
[string]
- aett - optional
[string]
- Accepted Values -
freya
|heimdall
|tyr
- Accepted Values -
- transliteration - optional
[string]