{"id":20785827,"url":"https://github.com/dineshkarthik/apificator","last_synced_at":"2026-05-29T08:04:14.222Z","repository":{"id":146847936,"uuid":"70921872","full_name":"Dineshkarthik/APIficator","owner":"Dineshkarthik","description":"Expose existing database  via a REST API","archived":false,"fork":false,"pushed_at":"2023-08-14T21:40:50.000Z","size":13,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T23:34:01.334Z","etag":null,"topics":["api-service","python","rest-api","sqlalchemy"],"latest_commit_sha":null,"homepage":null,"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/Dineshkarthik.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}},"created_at":"2016-10-14T15:15:59.000Z","updated_at":"2020-07-06T10:03:50.000Z","dependencies_parsed_at":"2024-11-17T14:48:03.387Z","dependency_job_id":"7b16a87e-adbf-468f-9495-bdafa2a78dec","html_url":"https://github.com/Dineshkarthik/APIficator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dineshkarthik/APIficator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dineshkarthik%2FAPIficator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dineshkarthik%2FAPIficator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dineshkarthik%2FAPIficator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dineshkarthik%2FAPIficator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dineshkarthik","download_url":"https://codeload.github.com/Dineshkarthik/APIficator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dineshkarthik%2FAPIficator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33642320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-service","python","rest-api","sqlalchemy"],"created_at":"2024-11-17T14:47:40.227Z","updated_at":"2026-05-29T08:04:14.206Z","avatar_url":"https://github.com/Dineshkarthik.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# APIficator\n\nWould you like to expose an existing database via REST API? Normally, you'd have to write a lot of code for the ORM you're using, then integrate that into some web framework. \n\n`APIficator` does the coding part for you, you can generate API services without writing any code.\n\n##### All you need to do:\n  - Run the python app\n  - The app will generate and launch REST API service for you\n \n\nSupported Databases\n------------------\n\n`APIficator`, by default, supports connections to the same set of databases as\n[SQLAlchemy](http://www.sqlalchemy.org). As of this writing, that includes:\n\n* MySQL (MariaDB)\n* PostgreSQL\n* SQLite\n* Oracle\n* Microsoft SQL Server\n* Firebird\n* Drizzle\n* Sybase\n* IBM DB2\n* SAP Sybase SQL Anywhere\n* MonetDB\n\nDatabase Urls\n-------------\n* SQLite - `sqlite:///database_name.db`\n* PostgreSQL - `postgresql+psycopg2://user_name:password@localhost/mydatabase`\n* MySQL - `mysql+mysqldb://user_name:password@localhost/database`\n* Oracle - `oracle://user_name:password@127.0.0.1:1521/sidname`\n* Microsoft SQL Server - `mssql+pyodbc://user_name:password@mydsn`\n\n### Installation\n\nYou need Python, its dependency packages,  Tornado, SQLAlchemy and pandas installed globally:\n\n```sh\n$ git clone https://github.com/Dineshkarthik/APIficator.git\n$ cd APIficator\n$ pip install -r requirements.txt\n$ python apificator.py [Database Url]\n\nExample:\n$ python apificator.py sqlite:///database_name.db\n```\n\n### Filtering and Sorting\n**You don't even need to specify what are the tables present in your database.** \n Just point at your database and let `APIficator` do all the heavy lifting\n\nLet's see the awesome filtering capability of APIficator:\n\nWhen filtering with ***Primary key*** add the primary key at the end of the URL as below:\n```sh\n\u003e python apificator.py sqlite:///database_name.db\n* Running on http://127.0.0.1:8800/\n\n\u003e curl GET \"http://localhost:8800/users/1\"\n```\n\n```json\n...\n{\n    \"UserId\": 1,\n    \"Name\": \"Bob\",\n    \"Age\": 24,\n    \"Gender\": \"Male\"\n}\n```\n\nWhen filtering with columns other then primary key of the table pass the values as params with `column name` as  param key, as below:\n```sh\n\u003e python apificator.py sqlite:///database_name.db\n* Running on http://127.0.0.1:8800/\n\n\u003e curl GET \"http://localhost:8800/users/?Gender=Female\u0026Name=Lynda\"\n```\n\n```json\n...\n{\n    \"UserId\": 21,\n    \"Name\": \"Lynda\",\n    \"Age\": 43,\n    \"Gender\": \"Female\"\n}\n```\n\n#### Adding Data:\n\nAdding data to a table is even easier, `column name` as  param key with values, as below:\n```sh\n\u003e curl POST \"http://localhost:8800/users/?Gender=Male\u0026Name=Jack\u0026Age=36\"\n```\n\n##### NOTE:\n\u003e In the current version of APIficator only generaters APIs for `get` \u0026 `post` method. API services for other REST methods will be added in the upcoming versions.\n\n\nLicense\n----\n\nMIT\n\n\n**Free Software, Hell Yeah!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdineshkarthik%2Fapificator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdineshkarthik%2Fapificator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdineshkarthik%2Fapificator/lists"}