pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/bitly/bitly-api-python/pull/14

global-0bd78641c0a1f3e0.css" /> Add parameter 'day' to clicks_by_day by ianozsvald · Pull Request #14 · bitly/bitly-api-python · GitHub
Skip to content
This repository was archived by the owner on Apr 9, 2021. It is now read-only.

Add parameter 'day' to clicks_by_day#14

Open
ianozsvald wants to merge 1 commit intobitly:masterfrom
ianozsvald:feature/add-param-to-clicks-by-day
Open

Add parameter 'day' to clicks_by_day#14
ianozsvald wants to merge 1 commit intobitly:masterfrom
ianozsvald:feature/add-param-to-clicks-by-day

Conversation

@ianozsvald
Copy link
Copy Markdown
Contributor

The clicks_by_day parameter is deprecated but still works and it returns a historic list of clicks per day (unlike, as best I can tell, v3/link/clicks). clicks_by_day accepts a 'days' parameter but this wasn't available in the Python bindings, I've added the option along with 2 new tests.

I've also checked in some pep8 pedantry.

added days parameter to clicks_by_day (accepting that this is depracated)
@ianozsvald
Copy link
Copy Markdown
Contributor Author

Since this pull request is untouched I'll provide a simple example to monkey-patch the bitly_api with the updated clicks_by_day method:
https://github.com/adaptivelab/bitly-historics/blob/master/bitly_api_extended.py

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy