Skip to content
#

API

An API can be thought of as an instruction manual for communication between multiple software apparatuses. For example, an API may be used for database communication between web applications. By extracting the implementation and relinquishing data into objects, an API simplifies programming.

Here are 27,041 public repositories matching this topic...

resolritter
resolritter commented Nov 23, 2019
  • nvim --version:
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -
daffodil11
daffodil11 commented Nov 21, 2019

Problem

When following the instructions in the README in the redux example project, a crash occurs.

Input

Here's how I'm using normalizr:
clone this repo
run yarn in the root dir
run yarn in the examples/redux dir
run yarn start

Output

Here's what I expect to see when I run the above:
An inquirer prompt.

Here's what I actually see when I run the above:

> no
postwoman
debjeetsarkar
debjeetsarkar commented Nov 26, 2019

Is your feature request related to a problem? Please describe.
There is no comprehensive tooling while working with MQTT brokers.

Describe the solution you'd like
A simple interface to connect to an MQTT broker.
Subscribe to topics
Publish to topics

Describe alternatives you've considered
MQTT Lens

yippibrian
yippibrian commented May 21, 2019

It looks like most of the advice from the OWASP REST Cheat Sheet is discussed in this API-Security-Checklist, but OWASP talks about the importance of CORS, which is not mentioned at all in this API-Security-Checklist. Probably good to make mention. Also, the OWASP REST Cheat Sheet provides a bit more guidance regarding validation that might be good to incorporate.

https://github.com/OWASP/Che

ghostbody
ghostbody commented Aug 20, 2019

简介

通过 yapi 定义出接口其实是一件很 challenge 和重复的事情。

一般的我们的基于“资源”概念的 restful 接口会对某个数据模型(model)实现 CRUD 接口 (增删改查)。

假设我们一个基本的管理用户的需求。

  • 获取用户列表 GET /api/v1/users?_num=10&_page=1
  • 获取某个用户 GET /api/v1/users/:id
  • 新增一个用户 POST /api/v1/users
  • 删除某个用户 DELETE /api/v1/users/:id
  • 更新某个用户 PUT /api/v1/users/:id

对于 yapi,意味着我们需要至少定义 5个接口,这些接口的 request 和 response 存在很大需要复用数据模型的需求。

最近找到一个工具,可以结合起来定义相关模型。

ccxt
gpip
gpip commented Dec 8, 2019

Recently binance added a new option called "quoteOrderQty" as mentioned at https://github.com/binance-exchange/binance-official-api-docs/blob/master/CHANGELOG.md

Would be nice to have it here, for now I'm running a custom ccxt that allows me to override the quantity param with quoteOrderQty as they're mutually exclusive. The amount_to_precision can't be called as is because on BUY orders

learn-anything
xgocn
xgocn commented Sep 18, 2017

Login successfully as 落潮拾贝
Traceback (most recent call last):
File "setup.py", line 54, in
'Topic :: Utilities',
File "d:\Anaconda3\envs\test_py3\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "d:\Anaconda3\envs\test_py3\lib\distutils\dist.py", line 955, in run_comm
ands
self.run_command(cmd)
File "d:\Anaconda3\envs\test_py3\lib\distutils\

WowItsDoge
WowItsDoge commented Feb 22, 2019

Is there an overview, how the config object for the constructors of the neural network are defined?

This would be interesting:

  • Has brain.NeuralNetwork and brain.recurrent.RNN the same config attributes?
  • What is the description of the inputSize attribute?

Thank you for the great work with this library, it is realy amazing!

Timunas
Timunas commented Sep 10, 2019

Custom error formatter must have now 5 arguments instead of the old 4. These changes were introduced here on #1652

When migrating from 0.19 to 1.1.0 I had issues on a custom error formatter because the original_exception argument was introduced but that change was not documented on the upgrading guide.

web3.js
fulldecent
fulldecent commented Dec 31, 2019

This artifact is now about 1MB compressed. It is so large that projects are working around it and creating their own slim versions.

Could the scope of this project (what should be included and what should not) please be added to the main README? This will help stop scope creep and set a reasonable project goal that we can all work towards.

fastapi
incfly
incfly commented Dec 27, 2019

For the testing involving multiple ports, this is very needed. In our case (Istio), we use httpbin a lot, but we also have different behavior of our software based on the port level configuration. It'll be nice to have a command line level arguments to specify the ports the program is serving on.

./httpbin --ports '8080,9090,80' # default to 80
YPS233
YPS233 commented Nov 29, 2019

I want to use zeal to query windows driver documents, but after I download the c and c++ documents,i can not found wdk function . for example the function NtCreateFile or ZwCreateFile. I can found it from microsoft document (https://docs.microsoft.com/zh-cn/search/?search=zwcreatefile&category=All). Did I not find it or it is not exist in zeal ?

the funtion information: https://docs.microsoft.

davidmc24
davidmc24 commented Oct 17, 2019

Prerequisites

  • I am running the latest version. (up upgrade)
  • I searched to see if the issue already exists.
  • I inspected the verbose debug output with the -v, --verbose flag.
  • Are you an Up Pro subscriber?

Description

TLDR: in the javaGradle support in runtimes.go, both the build and clean hooks should check for the availability of the gradle wrapper.

yarin177
yarin177 commented Jan 11, 2020

Hey, I'm trying to fetch out the data with JSON I've spent way too much time on google and tried every single solution with no success.. when I send the request it raises an json.decoder.JSONDecodeError Exception.
maybe can you help?

class TextOcrRes:
    def on_post(self, req, resp):
        """Handles Text POST requests"""
        json_data = json.loads(req.bounded_stream.read().deco
Dirbaio
Dirbaio commented Sep 30, 2019

The Go documentation states the following on http.Request.RemoteAddr:

The HTTP server in this package sets RemoteAddr to an "IP:port" address before invoking a handler.

Therefore, you could expect that a code like this is correct:

package main

import (
	"fmt"
	"net"
	"net/http"

	"github.com/go-chi/chi"
	"github.com/go-chi/chi/middleware"
)

func main() {
	r
jdelman
jdelman commented Jul 17, 2019

When rotating between landscape/portrait, you can lose your open document and position. I have encountered this issue on an iPhone XS Max running iOS 12.3.1.

Steps to recreate:

  • Search for something.
  • View an article.
  • Rotate into landscape mode (on my iPhone XS Max, this shows the search view and the document view side-by-side)
  • Rotate back to portrait

Expected behavior: Show

Wikipedia
Wikipedia
You can’t perform that action at this time.