Closed
Description
Start from zero, and go through the steps in order:
- Start a Fortran application from scratch with fpm;
- Add http-client to dependencies;
- Make a few GET requests to get some data
- Parse and do something with the data
- Parse the headers
- Send some information with headers, perhaps an API token
- Use
POST
to send data? Maybe we can use a mock server to CRUD a resource with POST, GET, PUT/PATCH, and DELETE. (this could be the 2nd part of the tutorial, 1st being just getting and parsing the data).
Project ideas:
- For the first part of the tutorial (getting and parsing data), perhaps we can use api.github.com to query Fortran-lang repos and do some simple analysis of projects, e.g. list 10 most starred or most active Fortran-lang repositories and list them in descending order.
- For the second part of the tutorial (CRUD), maybe we can use a mock server that preserves resources to simulate a CRUD operation from Fortran.
Let's start discussing ideas for a tutorial but we don't have to rush to work on it immediately while the API is still in early flux.