ℹ️ Caso queira ler o README em português brasileiro, clique aqui
(If you want to read README in brazilian portuguese, click here)
⚠️ Click here if you want the F1 season without run this app.The link will add you in a public calendar with the F1 races
This project is an automation that add, update and remove the F1 races to a Google Calendar.
Click here to learn how to let your calendar public and how to get calendar id
Click here to get learn how to create Google Service Account to fill some properties in appsettings
Click here to read how share your Google Calendar and get the client_email from your service account json
To run this app, you will need to have .Net Core 3.1 installed and configured on your machine
- Access the latest stable release version
- Download the release.zip file
- You will need to fill the properties in appsettings.json file that is in release folder.
"appSettings": { "applicationName": "Application name (pre-filled)", "formulaOne": { "urlBase": "Formula 1 TV base url (pre-filled)", "apiVersion": "Formula 1 TV api version (pre-filled)", "language": "Formula 1 TV api language (pre-filled with portuguese)", "yearsPageId": [ { "year": "Year (pre-filled)", "pageId": "Page ID to get race events list from year (pre-filled)" } ] }, "google": { "calendar": { "id": "Google calendar ID" }, "serviceAccount": { "email": "Google Service Account client_email value", "privateKey": "Google Service Account private_key value" } } }
- Run the executable (Script.FormulaOneCalendar.exe)
- To use with .net core, you will need to fill the properties in appsettings file
"appSettings": { "applicationName": "Application name (pre-filled)", "formulaOne": { "urlBase": "Formula 1 TV base url (pre-filled)", "apiVersion": "Formula 1 TV api version (pre-filled)", "language": "Formula 1 TV api language (pre-filled with portuguese)", "yearsPageId": [ { "year": "Year", "pageId": "Page ID to get race events list from year" } ] }, "google": { "calendar": { "id": "Google calendar ID" }, "serviceAccount": { "email": "Google Service Account client_email value", "privateKey": "Google Service Account private_key value" } } }
- Run the project (src/Script.FormulaOneCalendar/Script.FormulaOneCalendar.csproj)