Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tdakanalis/bulk_api_bulkshortener
A YOURLS plugin allowing the shortening of multiple URLs with one API request.
https://github.com/tdakanalis/bulk_api_bulkshortener
Last synced: 2 months ago
JSON representation
A YOURLS plugin allowing the shortening of multiple URLs with one API request.
- Host: GitHub
- URL: https://github.com/tdakanalis/bulk_api_bulkshortener
- Owner: tdakanalis
- Created: 2015-07-22T10:48:47.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-01-18T08:38:10.000Z (almost 5 years ago)
- Last Synced: 2024-08-02T06:14:29.232Z (5 months ago)
- Language: PHP
- Size: 238 KB
- Stars: 6
- Watchers: 1
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - Bulk URL Shortening - Shortening of multiple URLs with one API request. (Plugins / B)
README
# Bulk URL Shortening - a YOURLS plugin
Plugin for [YOURLS](http://yourls.org)
* Plugin URI: [github.com/tdakanalis/bulk_api_bulkshortener](https://github.com/tdakanalis/bulk_api_bulkshortener)
* Description: A YOURLS plugin allowing the shortening of multiple URLs with one API request.
* Version: 1.0
* Release date: 2015-07-22
* Author: Stelios Mavromichalis
* Author URI: [http://www.cytech.gr](http://www.cytech.gr)## Installation
1. In `/user/plugins`, create a new folder named `bulk-shortener`.
2. Drop these files in that directory.## Use
1. Add in your api request the parameter `action=bulkshortener`
2. Send the list of the URLs to be shortened using the parameter `urls[]`.
3. The response contains each shortened URL in a single line.## Example
Request:
* http://host:port/yourls-api.php?username=u&password=p&action=bulkshortener&urls[]=http://url1&urls[]=http://url2Response:
* http://s.com/zy1071
* http://s.com/ha52ql## History
* 2015-07-22, v1.0: Initial version.
## Finally...
I hope you find this plugin useful.