Standalone API REST for text analysis and other utilities.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alfred fec0cac8a9 Update config retrieve 11 months ago
config Enable authorization 11 months ago
src Update config retrieve 11 months ago
.gitignore Update config retrieve 11 months ago
Dockerfile Add text, language, and keywords extractor 1 year ago
LICENSE Add text, language, and keywords extractor 1 year ago
Procfile Add text, language, and keywords extractor 1 year ago
README.md Add scrapping instructions to README.md 1 year ago
package.json Fix project name on packages JSON 11 months ago
prueba.js Add text, language, and keywords extractor 1 year ago

README.md

REST Utils

This is a REST API which provides utilities for your applications. It is done with NodeJS, ES6, and Express. Using:

Getting started

# Install dependencies
npm install

# Start development live-reload server
PORT=8080 npm run dev

# Start production server:
PORT=8080 npm start

Services

Text, language, and keywords extractor

curl --request POST \
  --url http://127.0.0.1:8080/api/analyze/ \
  --header 'content-type: application/json' \
  --data '{
	"url": "https://psiquiatrianet.wordpress.com/2013/12/13/por-que-los-psiquiatras-y-psicologos-tienen-problemas/",
	"keywords": 10
}'

Web scrapping

curl --request POST \
  --url http://127.0.0.1:8080/api/scrap/ \
  --header 'content-type: application/json' \
  --data '{
	"url": "https://www.espinof.com/series-de-ficcion/los-33-besos-mas-espectaculares-de-las-series-en-formato-gif"
}'