{"id":17216756,"url":"https://github.com/andrewcopeland/ipdetective-client-python","last_synced_at":"2025-04-13T23:22:48.834Z","repository":{"id":229255406,"uuid":"776253595","full_name":"AndrewCopeland/ipdetective-client-python","owner":"AndrewCopeland","description":"IPDetective client allows you to easily get information about an IP address like if type (bot, datacenter, vpn), country of origin and ASN number.","archived":false,"fork":false,"pushed_at":"2024-03-23T03:17:44.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-24T21:43:11.707Z","etag":null,"topics":["address","asn","bot","detection","geolocation","ip"],"latest_commit_sha":null,"homepage":"https://ipdetective.io","language":"Python","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/AndrewCopeland.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}},"created_at":"2024-03-23T02:13:19.000Z","updated_at":"2024-04-17T19:41:00.000Z","dependencies_parsed_at":"2024-03-23T03:23:11.689Z","dependency_job_id":"d391f994-544e-45e8-9811-bdd01f269350","html_url":"https://github.com/AndrewCopeland/ipdetective-client-python","commit_stats":null,"previous_names":["andrewcopeland/ipdetective-client-python"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewCopeland%2Fipdetective-client-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewCopeland%2Fipdetective-client-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewCopeland%2Fipdetective-client-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewCopeland%2Fipdetective-client-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewCopeland","download_url":"https://codeload.github.com/AndrewCopeland/ipdetective-client-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248795176,"owners_count":21162725,"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":["address","asn","bot","detection","geolocation","ip"],"created_at":"2024-10-15T03:28:33.907Z","updated_at":"2025-04-13T23:22:48.794Z","avatar_url":"https://github.com/AndrewCopeland.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IPDetective Client\n[IPDetective](https://ipdetective.io) is an API that focuses on bot and non-human IP detection to quickly identify if an IP address comes from a datacenter, VPN or proxy. You can signup to the free API by simply signing in to access your API key. IPDetective tracks over 1000 ASNs and detects over 250 million IP addresses as non-human users from +100 different origins, ranging from data centers, botnets, proxies and vpns.\n\n## Features\n- IP Bot Detection\n- IP Geolocation\n- IP ASN\n\n## Usage\n```python3\nimport os\nfrom ipdetective import IPDetective\n\ndef main():\n    api_key = os.getenv('IPDETECTIVE_API_KEY')\n    ip_client = IPDetective(api_key)\n    \n    # Get information about a singular IP address\n    ip_info = ip_client.GetIpInfo('8.8.8.8')\n    print(ip_info)\n    # {'ip': '8.8.8.8', 'bot': True, 'type': 'bot', 'asn': 15169, 'asn_description': 'GOOGLE', 'country_code': 'US', 'country_name': 'United States of America'}\n\n    # Get information about build IP addresses\n    bulk_ip_info = ip_client.GetBulkIpInfo(['8.8.8.8', '1.1.1.1'])\n    print(bulk_ip_info)\n    # [{'ip': '1.1.1.1', 'bot': True, 'type': 'bot', 'asn': 13335, 'asn_description': 'CLOUDFLARENET', 'country_code': 'US', 'country_name': 'United States of America'}, {'ip': '8.8.8.8', 'bot': True, 'type': 'bot', 'asn': 15169, 'asn_description': 'GOOGLE', 'country_code': 'US', 'country_name': 'United States of America'}]\n\nif __name__ == \"__main__\":\n    main()\n```\n\n[Check out our website](https://ipdetective.io)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewcopeland%2Fipdetective-client-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewcopeland%2Fipdetective-client-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewcopeland%2Fipdetective-client-python/lists"}