Metadata-Version: 2.4
Name: social-media-automated-api
Version: 0.0.15
Summary: Social Media Automated - API
License-File: LICENSE
Author: danialcala94
Author-email: danielalcalavalera@gmail.com
Requires-Python: >=3.10,<3.12
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: env_easy (>=0.0.7,<1.0.0)
Requires-Dist: fastapi (>=0.141.1,<9999.0.0)
Requires-Dist: social_media_automated (>=0.0.11,<1.0.0)
Requires-Dist: supabase (>=2.31.0,<9999.0.0)
Requires-Dist: uvicorn (>=0.52.2,<9999.0.0)
Description-Content-Type: text/markdown

# Social Media Automated - API

The API to automate the social media from anywhere.

## Endpoints

#### GET
No endpoints by now


#### POST
  - `/videos/schedule`
    - To schedule a post of a video.


## Extra information
If the Google OAuth credentials are expired or revoked, we need to accept the flow locally to generate a new `client_secret.json` and force the login flow, that will give us a `token.json`, and the content of those 2 files must be uploaded to the `secret files` of the project in Render.

The system is copying the `token.json` to a temporary file when launched, so it can be written and the token can be refreshed if needed.
