{"id":20216678,"url":"https://github.com/developer-shivam/perfecto","last_synced_at":"2025-04-10T15:12:58.150Z","repository":{"id":115367968,"uuid":"64912001","full_name":"developer-shivam/perfecto","owner":"developer-shivam","description":":ok_hand: Http Connection calls made easy. Simple wrapper to AsyncTask with Error Handling.","archived":false,"fork":false,"pushed_at":"2016-11-03T10:09:28.000Z","size":117,"stargazers_count":33,"open_issues_count":1,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T13:11:18.466Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/developer-shivam.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":"2016-08-04T07:20:46.000Z","updated_at":"2025-01-01T13:19:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"bb43b9cf-31a7-4694-aadc-9e42e37160a1","html_url":"https://github.com/developer-shivam/perfecto","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-shivam%2Fperfecto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-shivam%2Fperfecto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-shivam%2Fperfecto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-shivam%2Fperfecto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developer-shivam","download_url":"https://codeload.github.com/developer-shivam/perfecto/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248243206,"owners_count":21071054,"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":[],"created_at":"2024-11-14T06:29:13.369Z","updated_at":"2025-04-10T15:12:58.143Z","avatar_url":"https://github.com/developer-shivam.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"#perfecto - Network request with ease.\n\n[![License](https://img.shields.io/badge/License-Apache%202-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)\n\n## Use Case for \"GET\" Request\n```java\nPerfecto.with(MainActivity.this)\n\t.fromUrl(\"http://www.google.com\")\n\t.ofTypeGet()\n\t.connect(new OnNetworkRequest() {\n\n        @Override\n        public void onStart() {\n\n        }\n\n        @Override\n        public void onSuccess(String response) {\n            Log.d(\"Response\", response);\n        }\n\n        @Override\n        public void onFailure(int responseCode, String responseMessage, String errorStream) {\n            Log.d(\"Response code\", String.valueOf(responseCode));\n            Log.d(\"Response message\", responseMessage);\n            Log.d(\"Error stream\", errorStream);\n        }\n\t});\n```\n\n## Integration\nAdd these lines in build.gradle at project leve\n```\nrepositories {\n\tjcenter()\n\tmaven { url \"https://jitpack.io\" }\n}\n```\n\nAdd these lines in build.gradle at app level\n```\ndependencies {\n    compile 'com.github.developer-shivam:perfecto:1.0.0'\n}\n```\n\n## License\nCopyright (c) 2016 Shivam Satija\n\nLicensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloper-shivam%2Fperfecto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeveloper-shivam%2Fperfecto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloper-shivam%2Fperfecto/lists"}