MyNixOS website logo
Description

R Wrapper for the 'Bit.ly' and 'Is.gd'/'v.gd' URL Shortening Services.

Allows using two URL shortening services, which also provide expanding and analytic functions. Specifically developed for 'Bit.ly' (which requires OAuth 2.0) and 'is.gd' (no API key).

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

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

Metadata

Version

1.5.7

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows