{"id":22315299,"url":"https://github.com/erran/emcshodanclient","last_synced_at":"2025-03-26T03:11:32.925Z","repository":{"id":3530288,"uuid":"4589644","full_name":"erran/EMCShodanClient","owner":"erran","description":"Objective-C library for SHODAN","archived":false,"fork":false,"pushed_at":"2014-01-06T05:14:10.000Z","size":860,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-20T08:47:44.689Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://erran.github.io/EMCShodanClient","language":"Objective-C","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/erran.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}},"created_at":"2012-06-07T19:48:39.000Z","updated_at":"2014-01-16T05:28:02.000Z","dependencies_parsed_at":"2022-08-06T14:01:11.730Z","dependency_job_id":null,"html_url":"https://github.com/erran/EMCShodanClient","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/erran%2FEMCShodanClient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erran%2FEMCShodanClient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erran%2FEMCShodanClient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erran%2FEMCShodanClient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erran","download_url":"https://codeload.github.com/erran/EMCShodanClient/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245579677,"owners_count":20638679,"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-12-03T22:12:59.733Z","updated_at":"2025-03-26T03:11:32.904Z","avatar_url":"https://github.com/erran.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ECShodanClient\n## Usage\n\nBefore you can use this Objective-C library to connect to the SHODAN API, you need to have an API key [from SHODAN](http://www.shodanhq.com/api_doc).\n\nCreate and initialize an instance of the ECShodanClient class:\n\n```objective-c\n#import \"ECShodanClient.h\"\n\nECShodanClient* api = [[ECShodanClient alloc] initWithAPIKey:@\"Your API Key\"];\n```\n\nPrint a list of cisco-ios devices:\n\n```objective-c\nNSDictionary* result = [api search:@\"cisco\"];\nint i = 0;\nfor (id __strong host in [result objectForKey:@\"matches\"]) {\n    host = [[result objectForKey:@\"matches\"] objectAtIndex:i];\n    i++;\n    NSLog(@\"%@\", [host objectForKey:@\"ip\"]);\n}\n```\n\nGrab all information SHODAN has on a specific ip (4.59.125.121):\n\n```objective-c\nNSDictionary* host = [api host:@\"4.59.125.121\"];\nNSLog(@\"%@\", host);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferran%2Femcshodanclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferran%2Femcshodanclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferran%2Femcshodanclient/lists"}