Skip to content

Latest commit

 

History

History
76 lines (49 loc) · 3.35 KB

File metadata and controls

76 lines (49 loc) · 3.35 KB

ampapi-spec

License Github Github Issues Discord wakatime

A program that automagically updates a JSON file and a human readable file with the AMP API methods.

Usage

For the JSON response of API.Core.GetAPISpec:

https://raw.githubusercontent.com/p0t4t0sandwich/ampapi-spec/main/APISpec.json

For the human readable response of API.Core.GetAPISpec (easier to check for differences):

https://github.com/p0t4t0sandwich/ampapi-spec/blob/main/FriendlySpec.txt

API module inheritance for different instance types:

https://github.com/p0t4t0sandwich/ampapi-spec/blob/main/ModuleInheritance.json

API docs

Go to http(s)://your.domain.com/API to see the API docs.

Libraries

C#

NodeJS

  • ampapi-node - bare bones, but generates new methods on the fly, not requiring library updates
  • ampapi-js - auto-generated from the API, includes d.ts type definitions and code-completion

Python

  • AMPAPI_Python - built with developer experiences in mind, with all the bells and whistles you'll need
  • ampapi-py - auto-generated from the API, though a bit bland in terms of tooling

Java

Go/Golang

Rust

Work in Progress

Proxying-instance-auth explanation: AMP Discord #development