lord63 / isitup

Check whether a website is up or down.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

isitup

Latest Version Build Status

Is it up?

Check whether a website is up or down. Using isitup's API. Inspired by is-up.

Install

$ pip install isitup

Usage

  • CLI

      $ isitup github.com
      Yay, github.com is up.
      It took 0.022 ms for a 301 response code with an ip of 192.30.252.130
    
  • API

      >>> from isitup.main import check
      >>> check('github.com')
      u'Yay, github.com is up.\nIt took 0.022 ms for a 301 response code with an ip of 192.30.252.130'
    

License

MIT.

About

Check whether a website is up or down.

License:MIT License


Languages

Language:Python 97.9%Language:Makefile 2.1%