Category "api"

from . import models ImportError: attempted relative import with no known parent package

I am trying to create a database from SQLAlchemy. I am using Postgres as my database. When trying to create the database I get import error in from . import mod

How can I get a list of NFTs that I have minted?

I am building Social Media for NFT. I would like to get a list of NFTs minted in the past by a particular user in Ethereum and Polygon Chain. It does not have t

from . import models ImportError: attempted relative import with no known parent package

I am trying to create a database from SQLAlchemy. I am using Postgres as my database. When trying to create the database I get import error in from . import mod

Calendar info using confluence API

I have a Confluence page which has a Calendar inside it (please check photo below). Calendar I am trying to pull information from this calendar, like how many

Company Search API Access

I am trying to get access to the linkedin company search api. seems that it is restricted to certain developers. Can someone provide guidance on how to obtain

How to perform periodic task with Flask in Python

I've been using Flask to provide a simple web API for my k8055 USB interface board; fairly standard getters and putters, and Flask really made my life a lot eas

API undefined issue with petfinder and ReactJS

I am having an issue with petfinder API and ReactJS. Everything works until I try to access the pets "object/array". import React, { Component } from 'react'; i

REST API How to generate a 500 Error status when using a Postman Request

I need to test the 500 'internal server error' but Need to test this new API with calls from postman. Does anyone know how to make a call that will trigger it?

How to protect an API Key when using JavaScript?

So, I'm developing a small application just for my own use and perhaps an open source project on Git. I'm using an API from Envato Marketplaces, and as you all

For what reason might the camera return the error "Invalid session in request data!"?

The problem is that the error occurs intermittently I have a Dahua HDW2230TP-AS-0280B camera. I back up the video to my server every 10 minutes. The request loo

preventing abuse of API service usage

I am planning on using Laravel in my next web project, for the backend. Using the Laravel's built-in functionality I will build an API service. So my main conce

How to convert SOAP API to REST API using python?

I have to create a python script that should hit a SOAP API and should convert that to Restful API. I have XSD and WSDL files with me. Can someone help me how t

How to select destination output device using Web Audio Api

I have been using web audio api and have created a context, and populated a source buffer with data. It plays fine over the default output device, but i don't

What is the .NET equivalent of "ProducesResponseType" from Net Core?

I have to do a "backward" from an API made with NET CORE to .NET I'm facing a problem changing [ProducesResponseType] from Net Core in a valid equivalent of .N

How to upload an image to use in issue comments via Github API

I'm currently working with Github API to make an iOS github client app. I'd like to implement the feature of creating issues with images. My question is how to

I cannot get my JavaScript REST API to return data

I know there are many similar questions about this issue and most of them are already answered, but I am a beginner on this. This code is a code from a YouTube

The Authorization header is missing

I am getting this error :{"error":{"code":"AuthenticationFailed","message":"Authentication failed. The 'Authorization' header is missing."}} whenever I am tryin

XQuery get data with response Microstrategy

I've script for this. When i runned report, i can take the returns. Token, Auth Type,Expire Time and scope. With Microstrategy and XQuery language, i want to ge

Getting a JSON request in a view (using Django)

I am trying to set up a view to received a JSON notification from an API. I'm trying to figure out how to get the JSON data, and I currently have this as a star

TIDAL API documention - how to get track IDs

I'm using the TIDAL API to retrieve information on what tracks are on what playlists. To log in to the API I'm using the below code: session = tidalapi.Session(