DEV Community

Cover image for api.peviitor.ro; scraper[2]
Boga Sebastian Nicolae
Boga Sebastian Nicolae

Posted on

1 1

api.peviitor.ro; scraper[2]

Odata inregistrati in dev.peviitor.ro, avem acces la API.

API

Ce este un API?

Prin intermediul API-ului pus la dispozitie, ai acces la informatia din index.
API-ul este definit prin cateva end-pointuri.

API image

Pentru scraper doua endpointuri devin extrem de importante:

  • Endpointul care sterge locurile de munca ale unei companii:
    CLEAN

  • Endpointul care adauga un loc de munca sau mai multe locuri de munca pentru o companie:
    UPDATE

Prin endpointul de UPDATE se pot trimite mai multe locuri de munca folosind un ARRAY de JSON.

In versiunea 1 al API-ului avem acces la date fara cheia API, dar din versiunea 3, cheia devine obligatorie.

Puteti consulta API-ul versiunea 1 la adresa: https://api.peviitor.ro/

API-ul este prezentat prin intermediul SwaggerUI
swagger_logo

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay