Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/claymation/python-builtwith
BuiltWith API client
https://github.com/claymation/python-builtwith
Last synced: about 1 month ago
JSON representation
BuiltWith API client
- Host: GitHub
- URL: https://github.com/claymation/python-builtwith
- Owner: claymation
- License: mit
- Created: 2013-03-17T23:47:33.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-12T07:15:51.000Z (over 4 years ago)
- Last Synced: 2024-08-08T23:54:16.948Z (4 months ago)
- Language: Python
- Homepage:
- Size: 25.4 KB
- Stars: 35
- Watchers: 5
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-bugbounty-tools - python-builtwith - BuiltWith API client (Recon / Technologies)
- awesome-github-star - python-builtwith
README
python-builtwith
================![Python package](https://github.com/claymation/python-builtwith/workflows/Python%20package/badge.svg)
### API key
Get your BuiltWith API key here: https://api.builtwith.com/free-api
SignUp is necessary, one request per second is free of charge.### Versions
[BuiltWith][] API versions 1 and 2 client.### Examples
Import and initialize BuiltWith class
>>> from builtwith import BuiltWith
>>> bw = BuiltWith(YOUR_API_KEY)Simple example
>>> bw.lookup('example.com')
{
'Domain': 'example.com',
'FullUrl': 'example.com',
'ProfileUrl': 'http://builtwith.com?example.com',
'Technologies': [...],
'Title': ''
}Advanced example
>>> bw = BuiltWith(YOUR_API_KEY, api_version=2)
>>> example_info = bw.lookup('example.com')
>>> example_info.available_urls()
[(u'example.com', u'', u'')]
>>>
>>> domain_technologies = example_info.get_technologies_by_url(domain="example.com", subdomain="", path="")
>>> domain_technologies.list_technologies()
[u'Viewport Meta', u'CentOS', u'Cascading Style Sheets', u'Javascript', u'SEO_TITLE', u'SEO_H1',
u'XHTML Transitional', u'HTML5 DocType', u'Apache', u'Prototype', u'HTML 4.01 Transitional DTD', u'UTF-8']
>>>
>>> domain_technologies.get_technology_info("Prototype")
{u'Name': u'Prototype', u'FirstDetected': datetime.datetime(2011, 1, 31, 5, 0), u'Tag': u'javascript',
u'Link': u'http://www.prototypejs.org', u'LastDetected': datetime.datetime(2012, 11, 1, 6, 0),
u'Description': u'Prototype is a javascript framework which aims to ease development of dynamic web applications.'}
[BuiltWith]: http://api.builtwith.com/