I hereby claim:
- I am jeremylow on github.
- I am jcbl (https://keybase.io/jcbl) on keybase.
- I have a public key whose fingerprint is 58BB 6BFF A749 8E13 1FF4 E229 2AF4 7B57 E834 100C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import os | |
from random import randint | |
import flickrapi | |
api_key = os.environ['FLICKR_API_KEY'] | |
api_secret = os.environ['FLICKR_API_SECRET'] | |
''' Caching is not going to speed anything up within the utility functions, but | |
it might help if more than one user has the same tag and it is for public |
from __future__ import print_function | |
import tweepy | |
import gb_config as gb_config | |
USERNAME = '@twitter' | |
class MentionsListener(tweepy.StreamListener): |
List of data APIs that require no server-side auth or private credentials, and are thus good for small browser-only JS projects.
For endpoint /statuses/retweeters/ids.json
, there is no way to page through ids returned by API. No combination of setting cursor
or count
parameters has any effect on return value of previous_cursor
, next_cursor
, etc. Documentation is here:
https://dev.twitter.com/rest/reference/get/statuses/retweeters/ids
Furthermore, although count
parameter is honored, is not documented.
There are issues found, so pycodestyle
should report them.
$ /home/jeremy/coding/contrib/upstream-python-twitter/python-twitter/.tox/codestyle/bin/pycodestyle --ignore=E111,E124,E126,E201,E202,E221,E241,E302,E501 twitter tests
tests/test_api_30.py:14:1: E402 module level import not at top of file
tests/test_api_30.py:37:27: E226 missing whitespace around arithmetic operator
tests/test_api_30.py:237:9: E303 too many blank lines (2)
tests/test_api_30.py:1026:45: E128 continuation line under-indented for visual indent
tests/test_api_30.py:1027:45: E128 continuation line under-indented for visual indent
tests/test_api_30.py:1028:45: E128 continuation line under-indented for visual indent
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# Copyright (c) 2017 Jeremy Low | |
""" | |
National provides XLS workbooks with the following structure: | |
DSA Member ID | First Name | Last Name | Secondary First Name | Secondary Last Name | Organization | Street Address | Apt/Suite | Addr Line 2 | City | State | Zip | Home Phone | Alternative Phone Number | Email Address | Don't Mail? | Don't Call | Join Date | Xdate | |
123456 | Jeremy | Low | | | | 123 Main Street | | | PHILADELPHIA | PA | 19107- | 555-111-2222 | | [email protected] | 0 | 0 | 06/23/2017 | 04/01/2018 |
/* | |
Modify as needed and insert after the </div> | |
in the "Page wrapper foot HTML" section. This | |
will ensure that your modifications here will | |
be applied last. If you put it at the top, | |
there's a chance that they will be overridden, | |
which is annoying to diagnose. | |
The comments are there for readability, but don't | |
affect the page. |