{"id":15067603,"url":"https://github.com/asifarmanrahman/firebase-rest-api","last_synced_at":"2025-08-20T08:33:32.546Z","repository":{"id":43612221,"uuid":"506053273","full_name":"AsifArmanRahman/firebase-rest-api","owner":"AsifArmanRahman","description":"A simple python wrapper for Google's Firebase REST API's.","archived":false,"fork":false,"pushed_at":"2023-12-02T10:27:47.000Z","size":229,"stargazers_count":60,"open_issues_count":12,"forks_count":14,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-19T09:08:02.410Z","etag":null,"topics":["firebase","firebase-auth","firebase-auth-rest-api","firebase-authentication","firebase-database","firebase-database-api","firebase-db","firebase-firestore","firebase-firestore-database","firebase-realtime-database","firebase-realtime-db","firebase-rest-api","firebase-storage","firebase-storage-api","firestore-database"],"latest_commit_sha":null,"homepage":"https://firebase-rest-api.readthedocs.io","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/AsifArmanRahman.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2022-06-22T01:07:50.000Z","updated_at":"2024-10-29T04:16:32.000Z","dependencies_parsed_at":"2024-06-19T17:37:15.487Z","dependency_job_id":"bb94a5ed-7ac9-4fe4-81d2-f836ad6b88e3","html_url":"https://github.com/AsifArmanRahman/firebase-rest-api","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsifArmanRahman%2Ffirebase-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsifArmanRahman%2Ffirebase-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsifArmanRahman%2Ffirebase-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsifArmanRahman%2Ffirebase-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AsifArmanRahman","download_url":"https://codeload.github.com/AsifArmanRahman/firebase-rest-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230408171,"owners_count":18220974,"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":["firebase","firebase-auth","firebase-auth-rest-api","firebase-authentication","firebase-database","firebase-database-api","firebase-db","firebase-firestore","firebase-firestore-database","firebase-realtime-database","firebase-realtime-db","firebase-rest-api","firebase-storage","firebase-storage-api","firestore-database"],"created_at":"2024-09-25T01:25:10.235Z","updated_at":"2024-12-19T09:08:06.536Z","avatar_url":"https://github.com/AsifArmanRahman.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n   \u003ch1\u003e Firebase REST API \u003c/h1\u003e\n\n   \u003cp\u003eA simple python wrapper for \u003ca href=\"https://firebase.google.com\"\u003eGoogle's Firebase REST API's\u003c/a\u003e.\u003c/p\u003e\n   \u003cbr\u003e\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n   \u003ca href=\"https://pepy.tech/project/firebase-rest-api\"\u003e \n      \u003cimg alt=\"Total Downloads\" src=\"https://static.pepy.tech/personalized-badge/firebase-rest-api?period=total\u0026units=international_system\u0026left_color=blue\u0026right_color=grey\u0026left_text=Downloads\"\u003e\n   \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n   \u003ca href=\"https://github.com/AsifArmanRahman/firebase-rest-api/actions/workflows/build.yml\"\u003e \n      \u003cimg alt=\"GitHub Workflow Status\" src=\"https://img.shields.io/github/actions/workflow/status/AsifArmanRahman/firebase-rest-api/build.yml?logo=GitHub\"\u003e\n   \u003c/a\u003e\n   \u003ca href=\"https://github.com/AsifArmanRahman/firebase-rest-api/actions/workflows/tests.yml\"\u003e\n      \u003cimg alt=\"GitHub Workflow Status\" src=\"https://img.shields.io/github/actions/workflow/status/asifarmanrahman/firebase-rest-api/tests.yml?label=tests\u0026logo=Pytest\"\u003e\n   \u003c/a\u003e\n   \u003ca href=\"https://firebase-rest-api.readthedocs.io/en/latest/\"\u003e\n      \u003cimg alt=\"Read the Docs\" src=\"https://img.shields.io/readthedocs/firebase-rest-api?logo=Read%20the%20Docs\u0026logoColor=white\"\u003e\n   \u003c/a\u003e\n   \u003ca href=\"https://codecov.io/gh/AsifArmanRahman/firebase-rest-api\"\u003e \n      \u003cimg alt=\"CodeCov\" src=\"https://codecov.io/gh/AsifArmanRahman/firebase-rest-api/branch/main/graph/badge.svg?token=N7TE1WVZ7W\"\u003e \n   \u003c/a\u003e\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n   \u003ca href=\"https://pypi.org/project/firebase-rest-api/\"\u003e \n      \u003cimg alt=\"PyPI - Python Version\" src=\"https://img.shields.io/pypi/pyversions/firebase-rest-api?logo=python\"\u003e\n   \u003c/a\u003e\n   \u003ca href=\"https://pypi.org/project/firebase-rest-api/\"\u003e \n      \u003cimg alt=\"PyPI\" src=\"https://img.shields.io/pypi/v/firebase-rest-api?logo=PyPI\u0026logoColor=white\"\u003e\n   \u003c/a\u003e\n\u003c/div\u003e\n\n\n\n## Installation\n\n```python\npip install firebase-rest-api\n```\n\n\n## Quick Start\n\nIn order to use this library, you first need to go through the following steps:\n\n1. Select or create a Firebase project from [Firebase](https://console.firebase.google.com) Console.\n\n2. Register an Web App.\n\n\n### Example Usage\n\n```python\n# Import Firebase REST API library\nimport firebase\n\n# Firebase configuration\nconfig = {\n   \"apiKey\": \"apiKey\",\n   \"authDomain\": \"projectId.firebaseapp.com\",\n   \"databaseURL\": \"https://databaseName.firebaseio.com\",\n   \"projectId\": \"projectId\",\n   \"storageBucket\": \"projectId.appspot.com\",\n   \"messagingSenderId\": \"messagingSenderId\",\n   \"appId\": \"appId\"\n}\n\n# Instantiates a Firebase app\napp = firebase.initialize_app(config)\n\n\n# Firebase Authentication\nauth = app.auth()\n\n# Create new user and sign in\nauth.create_user_with_email_and_password(email, password)\nuser = auth.sign_in_with_email_and_password(email, password)\n\n\n# Firebase Realtime Database\ndb = app.database()\n\n# Data to save in database\ndata = {\n   \"name\": \"Robert Downey Jr.\",\n   \"email\": user.get('email')\n}\n\n# Store data to Firebase Database\ndb.child(\"users\").push(data, user.get('idToken'))\n\n\n# Firebase Storage\nstorage = app.storage()\n\n# File to store in storage\nfile_path = 'static/img/example.png'\n\n# Store file to Firebase Storage\nstorage.child(user.get('localId')).child('uploaded-picture.png').put(file_path, user.get('idToken'))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasifarmanrahman%2Ffirebase-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasifarmanrahman%2Ffirebase-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasifarmanrahman%2Ffirebase-rest-api/lists"}