src/index.js
function rants({
	sort = 'algo',
	limit = 50,
	skip = 0
} = {}) {
	const url = `${API}/devrant/rants`;
	const params = {
		app: 3,
		sort, limit, skip
	};

	return http
		.GET(url, params)
		.then(data => data.rants);
}
function rants({
	sort = 'algo',
	limit = 50,
	skip = 0
} = {}) {
	const url = `${API}/devrant/rants`;
	const params = {
		app: 3,
		sort, limit, skip
	};

	return http
		.GET(url, params)
		.then(data => data.rants);
}
function rants ( { sort = 'algo' , limit = 50 , skip = 0 } = { } ) { const url = ` ${ API } ` ; const params = { app : 3 , sort , limit , skip } ; return http . GET ( url , params ) . then ( data => data . rants ) ; }
Retrieve rants from devRant.

@param  {Object} options - sort (by `algo`, `recent` or `top`), limit and skip

@return {Promise} Resolves with the fetched rants
Retrieve rants from devRant .