{"id":36317342,"url":"https://github.com/feusebio/restful-api-request","last_synced_at":"2026-01-11T11:04:19.891Z","repository":{"id":62504265,"uuid":"81839404","full_name":"feusebio/restful-api-request","owner":"feusebio","description":"RESTful-API-Request is a simple Lib to talk with API Rest","archived":false,"fork":false,"pushed_at":"2017-04-28T12:00:19.000Z","size":53,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T04:11:51.198Z","etag":null,"topics":["api","client-api","custojusto","http-requests","request","rest-api","restful"],"latest_commit_sha":null,"homepage":null,"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/feusebio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-13T15:24:24.000Z","updated_at":"2024-04-24T04:11:51.199Z","dependencies_parsed_at":"2022-11-02T12:03:37.804Z","dependency_job_id":null,"html_url":"https://github.com/feusebio/restful-api-request","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/feusebio/restful-api-request","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feusebio%2Frestful-api-request","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feusebio%2Frestful-api-request/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feusebio%2Frestful-api-request/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feusebio%2Frestful-api-request/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feusebio","download_url":"https://codeload.github.com/feusebio/restful-api-request/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feusebio%2Frestful-api-request/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28301428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T08:21:30.231Z","status":"ssl_error","status_checked_at":"2026-01-11T08:21:26.882Z","response_time":60,"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":["api","client-api","custojusto","http-requests","request","rest-api","restful"],"created_at":"2026-01-11T11:04:19.422Z","updated_at":"2026-01-11T11:04:19.879Z","avatar_url":"https://github.com/feusebio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Latest Stable Version](https://poser.pugx.org/feusebio/restful-api-request/v/stable)](https://packagist.org/packages/feusebio/restful-api-request)\r\n[![Latest Unstable Version](https://poser.pugx.org/feusebio/restful-api-request/v/unstable)](https://packagist.org/packages/feusebio/restful-api-request)\r\n[![Total Downloads](https://poser.pugx.org/feusebio/restful-api-request/downloads)](https://packagist.org/packages/feusebio/restful-api-request)\r\n# ApiRestClient\r\n\r\n**ApiRestClient is a simple Lib to talk with API Rest.**\r\n\u003cp\u003e\r\nThis project was created to communicate with API CustoJusto.pt, by security reasons some data was omited.\r\nThe user is free to use and make changes to communicate with other API.\u003c/p\u003e\r\n\r\n  - Use Httpful Rest Client Lib (http://phphttpclient.com/)\r\n  - Use most popular HTTP methods (GET/POST/UPDATE/DELETE)\r\n  - Do CRUD operations\r\n\r\nExamples with CURL:\r\n\r\ncurl -i -X POST \"https://api......./v0/entries\" -H \"Authorization: Token token=XxxXXxxXxXXX\" -H \"Content-Type: application/json\" -d '\r\n{\r\n    \"title\": \"Escritório com 250m2 no Marquês\",\r\n    \"description\": \"Fabuloso escritório com 250m2 no centro de Lisboa com ótimos acessos...\",\r\n    \"type_id\": \"sell\",\r\n    \"category_id\": 1020,\r\n    \"image_ids\": [13123123, 3123123, 231232, 2345356, 7867867],\r\n    \"location\": {\r\n        \"region_id\": 14,\r\n        \"zipcode\": \"1000\",\r\n        \"area_id\": 220\r\n    },\r\n    \"partner_info\": {\r\n        \"ad_id\": \"7\",\r\n        \"group_id\": \"gg-45\"\r\n    },\r\n    \"parameters\": {\r\n        \"rooms\": 6,\r\n        \"size\": 25\r\n    }\r\n}'\r\n\r\nGetting Data\r\ncurl -i -X GET \"https://apidev......./v0/types\" -H \"Authorization: Token token=XxxXXxxXxXXX\"\r\n\r\nList an entry\r\ncurl -i -X GET  \"https://apidev....../v0/entries/12495697\" -H \"Authorization: Token token=XxxXXxxXxXXX\"\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeusebio%2Frestful-api-request","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeusebio%2Frestful-api-request","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeusebio%2Frestful-api-request/lists"}