{"id":19945874,"url":"https://github.com/blackiq/fortnite-stats-api","last_synced_at":"2026-04-13T01:36:25.160Z","repository":{"id":229323500,"uuid":"767790741","full_name":"BlackIQ/fortnite-stats-api","owner":"BlackIQ","description":"Fortnite Stats API. The bot is https://github.com/BlackIQ/fortnite-stats-bot","archived":false,"fork":false,"pushed_at":"2024-10-02T15:04:44.000Z","size":128,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-25T22:00:06.947Z","etag":null,"topics":["api","bot","fortnite","mongodb","nodejs","telegram"],"latest_commit_sha":null,"homepage":"https://fortnite.amirhossein.info/api","language":"JavaScript","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/BlackIQ.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,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":["https://paypal.me/meBlackIQ","https://www.patreon.com/BlackIQ","https://idpay.ir/amirhosseinmohammadi"]}},"created_at":"2024-03-05T22:44:48.000Z","updated_at":"2024-10-02T15:04:49.000Z","dependencies_parsed_at":"2024-11-13T00:39:13.605Z","dependency_job_id":null,"html_url":"https://github.com/BlackIQ/fortnite-stats-api","commit_stats":null,"previous_names":["blackiq/fortnite-stats-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BlackIQ/fortnite-stats-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackIQ%2Ffortnite-stats-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackIQ%2Ffortnite-stats-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackIQ%2Ffortnite-stats-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackIQ%2Ffortnite-stats-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlackIQ","download_url":"https://codeload.github.com/BlackIQ/fortnite-stats-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackIQ%2Ffortnite-stats-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31736723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T22:19:12.206Z","status":"ssl_error","status_checked_at":"2026-04-12T22:18:33.088Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","bot","fortnite","mongodb","nodejs","telegram"],"created_at":"2024-11-13T00:27:16.894Z","updated_at":"2026-04-13T01:36:25.140Z","avatar_url":"https://github.com/BlackIQ.png","language":"JavaScript","funding_links":["https://paypal.me/meBlackIQ","https://www.patreon.com/BlackIQ","https://idpay.ir/amirhosseinmohammadi"],"categories":[],"sub_categories":[],"readme":"# Fortnite Stats API\n\nThis API handles [bot](https://github.com/BlackIQ/fortnite-stats-bot) backend.\n\n## How to contribute\n\nTo use this API in your machine, you need to follow some steps:\n\n1. Clone repository\n2. Install packages\n3. Add your variables in `.env`\n4. Run\n\n### Clone repository\n\nSo, first thing first, create your app direactory or anywhere:\n\n```bash\n$ mkdir -p /apps/fortnite\n```\n\n\u003e The `-p` makes directory even the parent is not exists.\n\nThen go inside it:\n\n```bash\n$ cd /apps/fortnite\n```\n\nTo clone repo, just run the following command:\n\n```bash\n$ git clone https://github.com/BlackIQ/fortnite-stats-api\n```\n\nIf you want to clone it in your own name, add your name as argument:\n\n```bash\n$ git clone https://github.com/BlackIQ/fortnite-stats-api api\n```\n\n### Install packages\n\nOk, now go inside project:\n\n```bash\n$ cd  /apps/fortnite/api\n```\n\nThen install dependencies:\n\n```bash\n$ npm i\n```\n\n### Add your variables in `.env`\n\nTo start app, you need to connect it to database, add log file location, your fortnite api key and url and base app data.\n\nNow copy `.env.example` to `.env`:\n\n```bash\n$ cp .env.example .env\n```\n\nThen let's put our values.\n\n#### Database\n\nI used **MongoDB** and have 2 ways to connect app to database. If you use **Atlas** or any cloud database, just put your connection string for `MONGO_CLOUD`.\n\nBut if you want to run it in your local machine or somewhere that have no connection string and want to put your username, password or others, just add values.\n\n```bash\nMONGODB_HOST\nMONGODB_PORT\nMONGODB_COLLECTION\n```\n\n#### App\n\nApp configurations are like your secret, key, is it production or development and port that app will runs on it.\n\n```bash\nAPP_PORT # Port\nAPP_ENVIRONMENT # Production will be true if be production. Anything else will be development\nAPP_SECRET # The key that JWT will create with\nAPP_KEY # The api key for bot\n```\n\n#### File\n\nOk, here you must all 2 items. One, directory of log file and the log file name.\n\n```bash\nFILE_PATH\nFILE_NAME\n```\n\n#### Fortnite\n\nFo inside to [](https://fortnite-api.com) and login or create account and then get your api key.\n\nThen copy key and base api url to your env.\n\n```bash\nAPI_URL # Base URL\nAPI_AUTHORIZATION ## APi Key\n```\n\n### Run\n\nNow your configuration is ready! Let's run it!\n\n```bash\n$ npm test\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackiq%2Ffortnite-stats-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackiq%2Ffortnite-stats-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackiq%2Ffortnite-stats-api/lists"}