Giter VIP home page Giter VIP logo

github_email's Introduction

github_email

PyPI version License

Get a list of email IDs of any valid GitHub user from one function call even if there are no public emails for that user

It checks for all the public commits of the user and if the name of the author of commit is same as the name of user, it fetches that email ID.

Installation

Using pip

pip install github_email

Using Git

git clone https://github.com/prabhakar267/github_email.git
cd github_email
python setup.py install

Usage

import github_email

# get JSON response for user
response = github_email.get(<username>, <max_limit>)

if response['success']:
    # prints a list of emails retrieved from public commits of user 
    print response['email']
else:
    # prints the error message related to any error that occured
    print response['message']
    

Example

![github_email](screenshots/Screenshot from 2016-06-26 06:41:23.png?raw=true)

Inspiration

github-email by paulirish I wanted to write a module, so as to use this in other projects

github_email's People

Contributors

aktech avatar prabhakar267 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

github_email's Issues

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.