calpoly-csai / calpoly-csai/api

Create API endpoint to store RaspberryPiLogs

Open
#60 1 comment 0 reactions 1 assignee Claimed by @maxmoneycash View on GitHub
enhancement
Dominant language
Python
Stars
9
Forks
4
PR merge metrics
No merged PRs in 30d

Description

## Objective
Add API to store scraped **RasperryPiLogs** following the model of #53 .

* Useful comment: https://github.com/calpoly-csai/api/pull/53#issuecomment-590121657

* also see #47 which used `@app.route` to make an REST endpoint that the RaspberryPi can talk to via simply `import requests`

## Key Result
Scraped **RasperryPiLogs** are saved in database.

## Details

* Add API to accept a list of scraped **RasperryPiLogs**
* Create `save_rpi_logs()` function in `database_wrapper` to build `SQLAlchemy` `RasperryPiLogs` object and save it to the database.

### @chidiewenike And Tyler Herzog are good points of contact

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.