Client: ApiBackend implementation
IceKhan13 opened this issue · 3 comments
mickahell commented
This gonna be very similar to #9, main difference gonna be, except of a .json
file the data need to be send as payload to the API.
curl_req = requests.post(url, headers=headers, json=data)
Same for the reading part.
Questions : What do we want to read from the API ? (Endpoint ?)
- Everything, always
- Only tittle
- Only get everything from 1 id
- ...
mickahell commented
poke @AnsahMohammad @IceKhan13
IceKhan13 commented
Here is rough description of API https://github.com/IceKhan13/purplecaffeine/wiki#api-server