Skip to content

R package for 2 URL shortening service 📢 Compatible with Bitly API v4

License

Notifications You must be signed in to change notification settings

dmpe/urlshorteneR

Repository files navigation

CRAN_Status_Badge

R package for shortening URLs, supporting Bit.ly and is.gd/v.gd

Installing

Either see CRAN badge above or use devtools to install the latest version from Github:

library(devtools)
devtools::install_github("dmpe/urlshorteneR", build_vignettes = FALSE)

What has (🚫t) been implemented for Bit.ly:

FINISHED (with testing)

Organizations DONE Implemented ✔️
GET https://dev.bitly.com/api-reference/#getOrganization ✔️
GET https://dev.bitly.com/api-reference/#getOrganizations ✔️
GET https://dev.bitly.com/api-reference/#getOrganizationShortenCounts ✔️
GET https://dev.bitly.com/api-reference/#getPlanLimits ✔️
https://dev.bitly.com/v4/#tag/BSDs DONE Implemented ✔️
GET https://dev.bitly.com/api-reference/#getBSDs ✔️
GET https://dev.bitly.com/api-reference/#getOverridesForGroups ✔️
https://dev.bitly.com/api-reference#getOAuthApp DONE Implemented ✔️
GET https://api-ssl.bitly.com/v4/apps/{client_id} ✔️
https://dev.bitly.com/v4/#tag/User DONE Implemented ✔️
PATCH https://api-ssl.bitly.com/v4/user ✔️
GET https://api-ssl.bitly.com/v4/user ✔️
GET https://api-ssl.bitly.com/v4/user/platform_limits ✔️
https://dev.bitly.com/v4/#tag/Groups DONE Implemented ✔️
GET https://api-ssl.bitly.com/v4/groups/{group_guid}/preferences ✔️
PATCH https://api-ssl.bitly.com/v4/groups/{group_guid}/preferences ✔️
GET https://api-ssl.bitly.com/v4/groups/{group_guid}/bitlinks ✔️
GET https://api-ssl.bitly.com/v4/groups/{group_guid}/tags ✔️
GET https://api-ssl.bitly.com/v4/groups/{group_guid}/countries ✔️
GET https://api-ssl.bitly.com/v4/groups/{group_guid}/cities ✔️
GET https://api-ssl.bitly.com/v4/groups/{group_guid}/devices ✔️
GET https://api-ssl.bitly.com/v4/groups/{group_guid}/referring_networks ✔️
GET https://api-ssl.bitly.com/v4/groups/{group_guid}/shorten_counts ✔️
GET https://api-ssl.bitly.com/v4/groups ✔️
GET https://api-ssl.bitly.com/v4/groups/{group_guid}/bitlinks/{sort} ✔️
PATCH https://api-ssl.bitly.com/v4/groups/{group_guid} ✔️
GET https://api-ssl.bitly.com/v4/groups/{group_guid} ✔️
https://dev.bitly.com/v4/#tag/Campaigns DONE Implemented ✔️/🚫
GET https://api-ssl.bitly.com/v4/campaigns ✔️
POST https://api-ssl.bitly.com/v4/campaigns ✔️
GET https://api-ssl.bitly.com/v4/channels ✔️
GET https://api-ssl.bitly.com/v4/campaigns/{campaign_guid} ✔️
PATCH https://api-ssl.bitly.com/v4/campaigns/{campaign_guid} ✔️
GET https://api-ssl.bitly.com/v4/channels/{channel_guid} ✔️
PATCH https://api-ssl.bitly.com/v4/channels/{channel_guid} ✔️
https://dev.bitly.com/v4/#tag/Custom-Bitlinks DONE Implemented ✔️/🚫
GETPOST https://api-ssl.bitly.com/v4/custom_bitlinks ✔️
GET https://api-ssl.bitly.com/v4/custom_bitlinks/{custom_bitlink}/clicks_by_destination ✔️
PATCH https://api-ssl.bitly.com/v4/custom_bitlinks/{custom_bitlink} ✔️
GET https://api-ssl.bitly.com/v4/custom_bitlinks/{custom_bitlink} ✔️
https//dev.bitly.com/v4/#tag/Bitlinks Implemented ✔️/🚫
POST https://api-ssl.bitly.com/v4/bitlinks ✔️
POST https://api-ssl.bitly.com/v4/shorten ✔️
POST https://api-ssl.bitly.com/v4/expand ✔️
PATCH https://api-ssl.bitly.com/v4/bitlinks/{bitlink} ✔️
GET https://api-ssl.bitly.com/v4/bitlinks/{bitlink}/referrers ✔️
GET https://api-ssl.bitly.com/v4/bitlinks/{bitlink}/clicks/summary ✔️
GET https://api-ssl.bitly.com/v4/bitlinks/{bitlink}/clicks ✔️
GET https://api-ssl.bitly.com/v4/bitlinks/{bitlink}/countries ✔️
GET https://api-ssl.bitly.com/v4/bitlinks/{bitlink} ✔️
GET https://api-ssl.bitly.com/v4/bitlinks/{bitlink}/referrers_by_domains ✔️
GET https://api-ssl.bitly.com/v4/bitlinks/{bitlink}/referring_domains ✔️
GET https://api-ssl.bitly.com/v4/groups/{group_guid}/bitlinks/{sort} ✔️
GET https://api-ssl.bitly.com/v4/groups/{group_guid}/bitlinks ✔️

Help needed !!!

  • Testers with the "enterprise" Bit.ly accounts.
  • Testing Ow.ly support (this requires their API key)

Looking for examples and current implementation status ?

Check the vignette in vignettes folder.

How to contribute

See Contribute.md

Credits:

Meta