Skip to content

Commit

Permalink
documentación api victor
Browse files Browse the repository at this point in the history
  • Loading branch information
Víctor Escalera García committed Mar 9, 2024
1 parent 4e278e6 commit b938b15
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
**APIs:**
- http://sos2324-14.appspot.com/api/v1/movies-dataset/docs (developed by Enrique García Olivares)
- http://sos2324-14.appspot.com/api/v1/ufc-events-data/docs (developed by Nicolás Redondo Moreno)
- http://sos2324-14.appspot.com/api/v1/youtube-trends/docs (developed by Víctor Escalera García)
- [https://sos2324-14.appspot.com/api/v1/youtube-trends/docs](https://sos2324-14.appspot.com/api/v1/youtube-trends/docs) (developed by Víctor Escalera García)
6 changes: 6 additions & 0 deletions Victor/api-VEG.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ module.exports = (app, db) => {

//let dataset = new Array();


//Documentación Postman
app.get(API_BASE + "/youtube-trends/docs", (req, res) => {
res.status(301).redirect("https://documenter.getpostman.com/view/33038536/2sA2xh3Cti")
});

//GET Punto 13: Introducir datos
app.get(API_BASE + "/youtube-trends/loadInitialData", (req, res) => {
db.find({}, (err, docs) => {
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h1>SOS2324-14</h1>
<a href="https://sos2324-14.appspot.com/api/v1/ufc-events-data">http://sos2324-14.appspot.com/api/v1/ufc-events-data/docs</a> (developed by Nicolás Redondo Moreno)
</li>
<li>
<a href="https://sos2324-14.appspot.com/api/v1/youtube-trends">http://sos2324-14.appspot.com/api/v1/youtube-trends/docs</a> (developed by Víctor Escalera García)
<a href="https://sos2324-11.appspot.com/api/v1/youtube-trends/docs">https://sos2324-14.appspot.com/api/v1/youtube-trends/docs</a> (developed by Víctor Escalera García)
</li>
</ul>
</p>
Expand Down

0 comments on commit b938b15

Please sign in to comment.