Code Monkey home page Code Monkey logo

qdriven-github's Introduction

README

I forked a lot of repositories, and one day I wanted to delete these repositories. I don't want to delete it one by one , so I create this repo to delete these repository in batch.

Meanwhile, I had a chance to take a look at all the github apis to learn how to integrate with GITHUB Api.

Rough think on github api

I came up with simple idea to make github integration a little easy.

  • GithubSettings, settings for Personal Github
  • GithubBaseCommand, base github command template class, only like setup user
  • GithubCommands, every command class is for a github domain, user, repository,etc. GithubCommands should be a lot, it depends on real business needs.

TO DO List

  • Get Follows
  • Get Starred Repos

Examples

Delete Repo with keywords

 GithubUserCommand command=new GithubUserCommand();
        command.deleteRepos("qaops-assets");
        command.deleteRepos("WeBASE-Oracle");
        command.deleteRepos("WeCross");

Get Stars and Followings throw command

  @Test
    void testSaveFollows(){
            command.saveFollowsToFile("follows.json");
            }
@Test
    void testSaveStarredRepo(){
            command.saveStarredRepositories("stars.json");
            }

qdriven-github's People

Contributors

qdriven avatar

qdriven-github's Issues

Watch Topics for daily

Watch Topics Features

  • Watch Different Topics
  • Save Repo information for more than 10 stars
  • Topic cloud be registered

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.