{"id":20405723,"url":"https://github.com/nubilfi/restful-trends","last_synced_at":"2025-09-24T03:32:20.450Z","repository":{"id":200418785,"uuid":"705456388","full_name":"nubilfi/restful-trends","owner":"nubilfi","description":"A RESTful API to get Trends data from Google, TikTok, YouTube and Twitter","archived":false,"fork":false,"pushed_at":"2023-10-16T03:32:01.000Z","size":17,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-15T05:12:32.262Z","etag":null,"topics":["api","backend","fastapi","google","python","restful-api","tiktok","trends","twitter","youtube"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nubilfi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-10-16T03:25:48.000Z","updated_at":"2024-10-10T14:59:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"1f9b6713-74d6-40f5-8545-beae8ddc1a80","html_url":"https://github.com/nubilfi/restful-trends","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"e3713466c497dd3b9818bbf43335778330c561a4"},"previous_names":["nubilfi/restful-trends"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nubilfi%2Frestful-trends","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nubilfi%2Frestful-trends/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nubilfi%2Frestful-trends/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nubilfi%2Frestful-trends/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nubilfi","download_url":"https://codeload.github.com/nubilfi/restful-trends/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234033152,"owners_count":18769172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","backend","fastapi","google","python","restful-api","tiktok","trends","twitter","youtube"],"created_at":"2024-11-15T05:12:37.494Z","updated_at":"2025-09-24T03:32:20.079Z","avatar_url":"https://github.com/nubilfi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RESTful Trends App\n\nThis app contains several online Trends data.\n\n## Setup\n\nSetup your service environment by change the `.env.example` file to `.env` file and its content. Activate your python environment then install all the dependencies by command:\n\n```bashsession\npip install -r requirement.txt\n```\n\nThen navigate to `app/cors.py` file to change `allowed_domains` list in case you want to use this application on your production server. Also you need to change _basic authentication account_ in `app/utils.py` file.\n\nThe default `allowed_domain` list is:\n\n- example1.com\n- example2.com\n\nThe default of _basic authentication account_ is:\n\n- username: changeme\n- password: changeme\n\nIf you want to use _Google Trend AI Worker_, you need to change the `default prompt` which defined in [utils.py](https://github.com/nubilfi/restful-trends/blob/2026ff235c507056a85b65988ffb8b12189701ff/app/utils.py#L72) file.\n\n## Usage\n\nIf you're in `development` environment, run the app by the following command:\n\n```bashsession\nuvicorn main:app --reload\n```\n\nBut if you're in `production` mode, please run the following command instead:\n\n```bashsession\nsh start.sh\n```\n\n### Access\n\nAfter the application is run, you can check the `available endpoints` on `/docs`, for example: `http://localhost:8000/docs`\n\n## Docker\n\nOn progress..\n\n## Todo\n\n- [ ] Twitter trends data\n\n## Completed ✓\n\n- [x] Google trends data\n- [x] TikTok trends data\n- [x] YouTube trends data\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnubilfi%2Frestful-trends","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnubilfi%2Frestful-trends","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnubilfi%2Frestful-trends/lists"}