{"id":18738543,"url":"https://github.com/shriomtri/networkutil-lib","last_synced_at":"2025-04-12T19:32:53.803Z","repository":{"id":101232756,"uuid":"112516883","full_name":"shriomtri/NetworkUtil-lib","owner":"shriomtri","description":"Fast Network Util lib that fetch data from provide URL and return as string.","archived":false,"fork":false,"pushed_at":"2020-02-14T11:30:32.000Z","size":139,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T14:08:13.535Z","etag":null,"topics":["android-library","asynchronous-tasks","networking"],"latest_commit_sha":null,"homepage":"","language":"Java","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/shriomtri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-11-29T19:13:05.000Z","updated_at":"2020-03-09T08:26:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"598af729-3a38-4106-9e61-766d9c08f33c","html_url":"https://github.com/shriomtri/NetworkUtil-lib","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shriomtri%2FNetworkUtil-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shriomtri%2FNetworkUtil-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shriomtri%2FNetworkUtil-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shriomtri%2FNetworkUtil-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shriomtri","download_url":"https://codeload.github.com/shriomtri/NetworkUtil-lib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248621411,"owners_count":21134841,"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":["android-library","asynchronous-tasks","networking"],"created_at":"2024-11-07T15:29:33.877Z","updated_at":"2025-04-12T19:32:53.797Z","avatar_url":"https://github.com/shriomtri.png","language":"Java","readme":"![Android Arsenal]( https://img.shields.io/badge/Android%20Arsenal-Shriom%20Tripathi-green.svg?style=flat )\n\n# NetworkUtil-lib\n\nNetworkUilt is a fast and efficient open source network fetcher java class for Android which is use to make HTTP/HTTPS \ncalls very easy. It accept URL as only parameter and return raw data in __String__.\n\n**1.Use to make API calls.**\n\n**2.Able to fetch JSON data efficiently.**\n\n**3.Easy to use with web crawling.**\n\n**4.Able to make network call on slow internet connection.**\n\n**5.Conditions of \\n and \\r or \" \" is taken care of efficiently.**\n\n\n\n## How to add this to your project?\n\nSTEP 1. Add the JitPack repository to your build file (Project Level)\n\n```\n  allprojects {\n  \n    repositories {\n\t\t  ...\n\t\t  maven { url 'https://jitpack.io' }\n\t  }\n  }\n```\n\n\n\nSTEP 2. Add the dependency (App Level)\n\n\tdependencies {\n\t        implementation 'com.github.jay006:NetworkUtil-lib:v0.2.0'\n\t}\n  \n\n\n\n__USAGE__:\n\nIs can be using in saperate thread to make networking calls, i.e other than Main thread (UI thread).\n\nSimple exmaple on usage:-\n```\npublic class Fetch extends AsyncTask\u003cVoid, Void, Void\u003e{\n\t@Override\n\tpublic String doInBackground(String... args){\n\t\tString URL = args[0];\n\t\tString resultData = NetworkUtil.makeServiceCall(URL);\n\t\treturn resultData;\n\t\t\n\t}\n}\n```\n\nIts not that hard as it looks. \nYou need to call ```new Fetch().execute(myUrl)``` and in \n'doInBackground'  __*NetworkUtil.makeServiceCall(myUrl)*__  will fetch you data.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshriomtri%2Fnetworkutil-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshriomtri%2Fnetworkutil-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshriomtri%2Fnetworkutil-lib/lists"}