{"id":18805770,"url":"https://github.com/mskian/tamilsms-api","last_synced_at":"2026-05-17T02:06:19.051Z","repository":{"id":98187636,"uuid":"297526561","full_name":"mskian/tamilsms-api","owner":"mskian","description":"API build using PHP Slim Framework for storing the Tamil kavithai and Quotes in Database","archived":false,"fork":false,"pushed_at":"2020-10-05T13:02:50.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-29T21:14:10.370Z","etag":null,"topics":["api","json","json-api","php","silm3","tamil"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/mskian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2020-09-22T03:37:51.000Z","updated_at":"2023-08-30T11:52:38.000Z","dependencies_parsed_at":"2023-06-30T01:01:10.291Z","dependency_job_id":null,"html_url":"https://github.com/mskian/tamilsms-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskian%2Ftamilsms-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskian%2Ftamilsms-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskian%2Ftamilsms-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskian%2Ftamilsms-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mskian","download_url":"https://codeload.github.com/mskian/tamilsms-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239742365,"owners_count":19689308,"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","json","json-api","php","silm3","tamil"],"created_at":"2024-11-07T22:44:57.406Z","updated_at":"2025-10-27T14:16:01.964Z","avatar_url":"https://github.com/mskian.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TAMILSMS API\n\nAPI build using PHP Slim Framework for storing the Tamil kavithai and Quotes in Database\n\n## Requirements\n\n- PHP 7.4\n- Composer for install the packages\n- SSL for secure Connection\n- MYSQL 5.x or 8.x\n\n## usage\n\n- install the packages via Composer\n\n```sh\ncomposer install\n```\n\n- Add your DB details in `conf.php` file\n- Update your database table name in `index.php` replace mine with your's\n- Add user name and password for HTTP Auth (Check line no 20 in `index.php`) - Basic protection for POST Method\n- Create MYSQL database with Tamil Content Support\n\n```sql\nSET NAMES utf8;\nSET time_zone = '+00:00';\nSET foreign_key_checks = 0;\nSET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';\n\nDROP TABLE IF EXISTS `tamilcontent`;\nCREATE TABLE `tamilcontent` (\n  `id` int NOT NULL AUTO_INCREMENT,\n  `content` text CHARACTER SET utf16 COLLATE utf16_unicode_ci NOT NULL,\n  PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\n```\n\n- That's all done\n\n```sh\nhttps://api.example.com/all - Get all content\nhttps://api.example.com/random - Get Random Content\nhttps://api.example.com/add - Post the content into Database\nhttps://api.example.com/update/{id} - Update the Content in the Database\n```\n\n## Examples\n\n- Post Method\n\n```sh\ncurl --request POST \\\n  --url https://api.example.com/add \\\n  --header 'authorization: Basic XXXXXXXXXXXXXXXXXXXXXXX' \\\n  --header 'content-type: application/x-www-form-urlencoded' \\\n  --data 'content=Example Tamil Content'\n```\n\n- PUT Method\n\n```sh\ncurl --request PUT \\\n  --url https://api.example.com/update/1 \\\n  --header 'authorization: Basic XXXXXXXXXXXXXXXXXXXXXX' \\\n  --header 'content-type: application/x-www-form-urlencoded' \\\n  --data 'content=Example Edited Tamil Content'\n```\n\n## Enable FastCGI Cache (Nginx)\n\n- Open `/etc/nginx/nginx.conf`\n- Add this Below code inside http block\n\n```sh\nfastcgi_cache_path /etc/nginx/cache levels=1:2 keys_zone=sanapp:100m inactive=60m;\nfastcgi_cache_key \"$scheme$request_method$host$request_uri\";\n```\n\n\u003e **you can Update this API According to your usage this is Just Example API for Tamil Content**\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmskian%2Ftamilsms-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmskian%2Ftamilsms-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmskian%2Ftamilsms-api/lists"}