{"id":15776636,"url":"https://github.com/asrvd/firebase","last_synced_at":"2026-04-25T22:34:12.203Z","repository":{"id":107099478,"uuid":"376250875","full_name":"asrvd/firebase","owner":"asrvd","description":"Rep describing how to connect firebase database to your python application.","archived":false,"fork":false,"pushed_at":"2021-06-12T10:19:16.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T11:13:58.155Z","etag":null,"topics":["discord-bot","firebase","firebase-database","python","python3"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asrvd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2021-06-12T09:32:04.000Z","updated_at":"2021-06-12T10:19:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"0121c18c-f715-41e4-aa24-0a4f1cff9064","html_url":"https://github.com/asrvd/firebase","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/asrvd/firebase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asrvd%2Ffirebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asrvd%2Ffirebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asrvd%2Ffirebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asrvd%2Ffirebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asrvd","download_url":"https://codeload.github.com/asrvd/firebase/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asrvd%2Ffirebase/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32279657,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"last_error":"SSL_read: 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":["discord-bot","firebase","firebase-database","python","python3"],"created_at":"2024-10-04T17:22:57.665Z","updated_at":"2026-04-25T22:34:12.185Z","avatar_url":"https://github.com/asrvd.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Connecting firebase to python.\nRep describing how to connect firebase database to your python application.\n\n# Creating account on firebase.\n-First go to the website https://firebase.google.com \\\n-Then you need to sign in using your Google account.\\\n-Click on `Go to console` on the top right corner.\n\n# Creating your project.\n![bandicam 2021-06-12 15-10-14-814](https://user-images.githubusercontent.com/68690233/121772002-6975f780-cb90-11eb-8a26-5f02d35c5f2e.jpg)\\\n-On the console click on `Add project`.\n\n\n![bandicam 2021-06-12 15-12-47-862](https://user-images.githubusercontent.com/68690233/121772085-ec974d80-cb90-11eb-9f17-180482862465.jpg)\\\n-Give your project any name.\n\n\n![bandicam 2021-06-12 15-13-09-274](https://user-images.githubusercontent.com/68690233/121772097-fb7e0000-cb90-11eb-942c-96ca0fc31029.jpg)\\\n-You can either keep this option on or off.\\\n-Click on create and your new database is ready for use.\n\n\n![bandicam 2021-06-12 15-17-51-345](https://user-images.githubusercontent.com/68690233/121772205-9f67ab80-cb91-11eb-93a9-1ff0696ce149.jpg)\\\n-Click on `Realtime database` then click on `Create Database`.\n\n\n![bandicam 2021-06-12 15-18-28-688](https://user-images.githubusercontent.com/68690233/121772258-ee154580-cb91-11eb-9521-b1d2cedd3ac7.jpg)\\\n-Click on Next.\n\n\n![bandicam 2021-06-12 15-18-53-210](https://user-images.githubusercontent.com/68690233/121772267-008f7f00-cb92-11eb-87af-b94df7d98f88.jpg)\\\n-Choose **Test Mode** then click on Enable.\n\n\n# Connecting database to application.\n![bandicam 2021-06-12 15-25-40-089](https://user-images.githubusercontent.com/68690233/121772437-fae66900-cb92-11eb-9b05-c7faa547be35.jpg)\\\n-Click on settings then Project Settings.\n\n\n![bandicam 2021-06-12 15-27-26-368](https://user-images.githubusercontent.com/68690233/121772456-12bded00-cb93-11eb-82ac-1b7c6dfd004b.jpg)\\\n-Click on the HTML icon.\n\n\n![bandicam 2021-06-12 15-27-53-907](https://user-images.githubusercontent.com/68690233/121772473-249f9000-cb93-11eb-97ac-d8dce22d2d8b.jpg)\\\n-Enter your app name then click on **Register App**.\n\n\n![bandicam 2021-06-12 15-31-48-588](https://user-images.githubusercontent.com/68690233/121772512-66c8d180-cb93-11eb-9954-5cff8bd795c1.jpg)\\\n-Now copy the highlighted portion as shown in this image.\n\n\u003ch2\u003e\u003cstrong\u003eNow open your code editor and paste the portion.\u003c/strong\u003e\u003c/h2\u003e\n\n```python\nimport pyrebase\n\nfirebaseConfig = {\n    \"apiKey\": \"AIzaSyDcLtabuhx2uzPAWtiwdaTx-9Il_XkHht4\",\n    \"authDomain\": \"my-new-project-b7da1.firebaseapp.com\",\n    \"databaseURL\": \"https://my-new-project-b7da1-default-rtdb.firebaseio.com\",  #Python accepts dictionary keys as strings so you will have to make them string using quotes.\n    \"projectId\": \"my-new-project-b7da1\",\n    \"storageBucket\": \"my-new-project-b7da1.appspot.com\",\n    \"messagingSenderId\": \"136114402318\",\n    \"appId\": \"1:136114402318:web:e3e327eeeba5b2a83e385f\"\n  }\n\nfirebase = pyrebase.initialize_app(firebaseConfig)\ndb = firebase.database()\n```\n\n\u003ch2\u003e\u003cstrong\u003eSo now your firebase realtime database is connected to your python application.\u003c/strong\u003e\u003c/h2\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasrvd%2Ffirebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasrvd%2Ffirebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasrvd%2Ffirebase/lists"}