gnuns / Allorigins
Licence: mit
👽 Pull contents from any page as JSON via API
Stars: ✭ 343
Programming Languages
javascript
184084 projects - #8 most used programming language
js
455 projects
Projects that are alternatives of or similar to Allorigins
Laravel Cors
Send CORS headers in a Laravel application
Stars: ✭ 605 (+76.38%)
Mutual labels: api, request, cors
Httpie
As easy as /aitch-tee-tee-pie/ 🥧 Modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more. https://twitter.com/httpie
Stars: ✭ 53,052 (+15367.06%)
Mutual labels: api, json
Http Fake Backend
Build a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
Stars: ✭ 253 (-26.24%)
Mutual labels: api, json
Restful Doom
HTTP+JSON API hosted inside the 1993 DOOM engine!
Stars: ✭ 263 (-23.32%)
Mutual labels: api, json
Flask Restplus
Fully featured framework for fast, easy and documented API development with Flask
Stars: ✭ 2,585 (+653.64%)
Mutual labels: api, json
Horaires Ratp Api
Webservice pour les horaires et trafic RATP en temps réel
Stars: ✭ 232 (-32.36%)
Mutual labels: api, json
Php Curl Class
PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs
Stars: ✭ 2,903 (+746.36%)
Mutual labels: api, json
Fractalistic
A framework agnostic, developer friendly wrapper around Fractal
Stars: ✭ 309 (-9.91%)
Mutual labels: api, json
Laravel5 Jsonapi
Laravel 5 JSON API Transformer Package
Stars: ✭ 313 (-8.75%)
Mutual labels: api, json
Datoji
A tiny JSON storage service. Create, Read, Update, Delete and Search JSON data.
Stars: ✭ 222 (-35.28%)
Mutual labels: api, json
Jsonapi Rb
Efficiently produce and consume JSON API documents.
Stars: ✭ 219 (-36.15%)
Mutual labels: api, json
Jsonapi Rails
Rails gem for fast jsonapi-compliant APIs.
Stars: ✭ 242 (-29.45%)
Mutual labels: api, json
Express Es6 Rest Api
🔋 Starter project for an ES6 RESTful Express API.
Stars: ✭ 2,401 (+600%)
Mutual labels: api, cors
node-typescript-starter
REST API using Node with typescript, KOA framework. TypeORM for SQL. Middlewares JWT (auth), CORS, Winston Logger, Error, Response
Stars: ✭ 19 (-94.46%)
Mutual labels: cors, node-js
Dialetus Service
API to Informal dictionary for the idiomatic expressions that each Brazilian region It has
Stars: ✭ 202 (-41.11%)
Mutual labels: api, json
Cors
🔮Supported(Laravel/Lumen/PSR-15/Swoft/Slim/ThinkPHP) - PHP CORS (Cross-origin resource sharing) middleware.
Stars: ✭ 266 (-22.45%)
Mutual labels: request, cors
All Origins
Pull contents from any page via API (as JSON/P or raw) and avoid Same-origin policy problems.
A free and open source javascript clone of AnyOrigin, inspired by Whatever Origin, but with support to gzipped pages.
Examples
To fetch
data from http://wikipedia.org:
fetch(`https://api.allorigins.win/get?url=${encodeURIComponent('https://wikipedia.org')}`)
.then(response => {
if (response.ok) return response.json()
throw new Error('Network response was not ok.')
})
.then(data => console.log(data.contents));
Or with jQuery
$.getJSON('https://api.allorigins.win/get?url=' + encodeURIComponent('https://wikipedia.org'), function (data) {
alert(data.contents);
});
Options
charset
Description: Set the response character encoding (charset)
Example: https://api.allorigins.win/get?charset=ISO-8859-1&url=https://pt.wikipedia.org/
raw
Description: Get the raw contents (CORS)
Example: https://api.allorigins.win/raw?url=https://example.org/
callback
Description: Get a JSONP response
Example: https://api.allorigins.win/get?callback=myFunc&url=https://example.org/
On your own server
# Clone the repo
git clone https://github.com/gnuns/AllOrigins
# Install dependencies
cd allOrigins
npm install
# Fire it up!
npm start # the default port is 1458
License
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].