{"id":21952538,"url":"https://github.com/donglua/zoomeye-api","last_synced_at":"2026-05-09T14:47:50.534Z","repository":{"id":68262123,"uuid":"56783853","full_name":"donglua/ZoomEye-API","owner":"donglua","description":"ZoomEye Android API SDK.","archived":false,"fork":false,"pushed_at":"2016-05-05T10:22:46.000Z","size":121,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-27T22:16:09.155Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.zoomeye.org/api/doc","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/donglua.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-04-21T15:12:33.000Z","updated_at":"2021-10-08T11:10:17.000Z","dependencies_parsed_at":"2023-04-22T14:17:49.261Z","dependency_job_id":null,"html_url":"https://github.com/donglua/ZoomEye-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/donglua%2FZoomEye-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donglua%2FZoomEye-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donglua%2FZoomEye-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donglua%2FZoomEye-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donglua","download_url":"https://codeload.github.com/donglua/ZoomEye-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244999411,"owners_count":20544873,"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-29T06:26:27.788Z","updated_at":"2026-05-09T14:47:45.505Z","avatar_url":"https://github.com/donglua.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZoomEye-API\nZoomEye Android API  \n\n## Gradle\n[![Download](https://api.bintray.com/packages/donglua/maven/zoomeye-api/images/download.svg)](https://bintray.com/donglua/maven/zoomeye-api/_latestVersion)\n```gradle\ncompile 'org.droiders:zoomeye-api:0.1.3'\n```\n## Usage\n* Create \u003ccode\u003eZoomEyeApiService\u003c/code\u003e object\n```Java\nRetrofit retrofit = new Retrofit.Builder() //\n      .client(client) //\n      .baseUrl(\"http://api.zoomeye.org\") //\n      .addConverterFactory(GsonConverterFactory.create(gson)) //\n      .addCallAdapterFactory(RxJavaCallAdapterFactory.create()) //\n      .build();\nZoomEyeApiService api = retrofit.create(ZoomEyeApiService.class);\n```\n* Request and error handle\n```java\nErrorBodyHandler errorHandler = new ErrorBodyHandler(retrofit);\n\napi.login(new LoginRequest(username, password))\n    .observeOn(AndroidSchedulers.mainThread())\n    .subscribe(tokenResponse -\u003e {\n      if (tokenResponse.isSuccessful()) {\n        String accessToken = tokenResponse.body().toString();\n        Log.d(\"ZoomEye\", \"accessToken = \" + accessToken);\n        ...\n      } else {\n        ErrorBody errorBody = errorHandler.parseError(tokenResponse.errorBody());\n        Log.d(\"ZoomEye\", errorBody.getMessage());\n        ...\n      }\n    });\n```\n## App\n\n* [ZoomEyeAndroid](https://github.com/donglua/ZoomEyeAndroid)\n\n## License\n```\nCopyright 2016 Huang Donglu\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonglua%2Fzoomeye-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonglua%2Fzoomeye-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonglua%2Fzoomeye-api/lists"}