Documentation: Here
Host: https://www.jecnaapi.com/
Firstly you have to log in to the server using the endpoint /user/login
: (This is in javascript, but feel free to use any other language)
let response = await client({
url: "/user/login",
method: "POST",
data: {
username: "Your username on the website",
password: "Your password on the website"
}
});
You will receive back a json with token
field, which is used to access other endpoints. More about that in the documentation
If you want to run your own copy of the server, just execute these commands:
git clone [email protected]:HonzaKubita/jecnaAPI.git
cd jecnaAPI
echo PORT=YourPort > .env
npm install
node main.js
For older versions:
git clone --branch version [email protected]:HonzaKubita/jecnaAPI.git
Example:git clone --branch v1.0.0-beta [email protected]:HonzaKubita/jecnaAPI.git