GithubHelp home page GithubHelp logo

python-builtwith's Introduction

python-builtwith

Python package

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.'}

python-builtwith's People

Contributors

ajrharris avatar claymation avatar dependabot[bot] avatar jgaul avatar lena-kuhn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.