Skip to content
Discussion options

You must be logged in to vote

I got the filtering working in Python, with some new scripts added to my dump_cards repo.

Most of the action is in the atdumpmemex.py module:

#!/usr/bin/env python3
import base64, json, os, requests

# Color constants
# Reference: https://gist.github.com/chrisopedia/8754917
COLERR="\033[0;31m"
COLINFO="\033[0;35m"
COLRESET="\033[m"

graphqlurl = 'https://api.github.com/graphql'
token = os.environ['GITHUB_API_TOKEN']
headers = {"Content-Type": "application/json", 
    "Accept": "application/json",
    "Authorization": "Bearer " + token,
    "GraphQL-Features": "projects_next_graphql" }



def list_memex_projects(org):
    query = ('query{ organization(login: \\"' + org + '\\") '
        '{…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@mcsken
Comment options

@cpswan
Comment options

Answer selected by cpswan
Comment options

You must be logged in to vote
4 replies
@cpswan
Comment options

@byteflowx
Comment options

@mgslone
Comment options

@br14
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issues Repository issues let you track features, problems, and more alongside your code Product Feedback Share your thoughts and suggestions on GitHub features and improvements
5 participants