Category : api

I’m trying to build an app that when the api comes with different colors the html will be rendered automaticaly. I have this but does nothing 🙁 app.py from flask import Flask, render_template, jsonify, request import time import os, sys import json app = Flask(__name__) @app.route("/") def home(): return render_template(‘index.html’) @app.route("/api/green", methods=[‘POST’]) def green(): data ..

Read more

im new in this of "Calling APIs", so i don’t understand a lot, I was wondering if anyone can help me. I want to sort the cryptocurrencies from coinmarketcap whit their API, in the Api documentation, says that there is a parameter ‘sort’, and i can use differents values, like ‘name’,’symbol’ and ‘recently added’. So ..

Read more

we use GraphQL API to fetch data in my work. this is my query q=”'{ course1:course(id:12){ …CourseFragment } course2:course(id:13){ …CourseFragment } }”’ fragment CourseFragment on Course { CourseID: _id CourseUUID: id CourseName: name } data=requests.post(‘url’,q,headers) and I am getting the data in json format. my question is what if I want to repeat the query ..

Read more