All Projects โ†’ paijerry โ†’ Ezapi

paijerry / Ezapi

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to Ezapi

mac-dev-setup
An easy script to install your mac dev environment
Stars: โœญ 38 (+660%)
Mutual labels:  easy
Node Sinek
๐ŸŽฉ Most advanced high level Node.js Kafka client
Stars: โœญ 262 (+5140%)
Mutual labels:  easy
Appupdate
๐Ÿš€ Android ็‰ˆๆœฌๆ›ดๆ–ฐ ๐Ÿš€ a library for android version update ๐Ÿš€
Stars: โœญ 3,375 (+67400%)
Mutual labels:  easy
EasyAbout
A fully material-designed about fragment for your application.
Stars: โœญ 47 (+840%)
Mutual labels:  easy
vkquick
Lightweight modern asynchronous framework for VK bots that can automatic build docs for your bots
Stars: โœญ 58 (+1060%)
Mutual labels:  easy
Django Admin Easy
Collection of admin fields and decorators to help to create computed or custom fields more friendly and easy way
Stars: โœญ 265 (+5200%)
Mutual labels:  easy
executor
A powerful "short-cutter" to your console to you and your team!
Stars: โœญ 21 (+320%)
Mutual labels:  easy
Observable
The easiest way to observe values in Swift.
Stars: โœญ 346 (+6820%)
Mutual labels:  easy
zedux
โšก A high-level, declarative, composable form of Redux https://bowheart.github.io/zedux/
Stars: โœญ 43 (+760%)
Mutual labels:  easy
Discord bot.py
๐Ÿบ A simple discord bot that helps you getting started within discord.py
Stars: โœญ 313 (+6160%)
Mutual labels:  easy
BlueSkyTv
็ฎ€ๅ•็š„ๅฎ‰ๅ“TV ่ถ…็บฏๅ‡€
Stars: โœญ 17 (+240%)
Mutual labels:  easy
Fake APIs
Beginner friendly Custom REST-APIs creation for various development and testing purposes.๐ŸŽฏ๐ŸŒŽThis project has been opened for Contributions for Hacktoberfest2021.
Stars: โœญ 17 (+240%)
Mutual labels:  easy
Adaptnlp
An easy to use Natural Language Processing library and framework for predicting, training, fine-tuning, and serving up state-of-the-art NLP models.
Stars: โœญ 278 (+5460%)
Mutual labels:  easy
CNN Own Dataset
CNN example for training your own datasets.
Stars: โœญ 25 (+400%)
Mutual labels:  easy
Espui
A simple web user interface library for ESP32 and ESP8266
Stars: โœญ 330 (+6500%)
Mutual labels:  easy
first-pr-repo
A step by step guide to help people make their first Pull Request
Stars: โœญ 29 (+480%)
Mutual labels:  easy
M5ez
Complete interface builder for the M5Stack, an ESP32 based mini tinker-computer
Stars: โœญ 260 (+5100%)
Mutual labels:  easy
Tui.chart
๐Ÿž๐Ÿ“Š Beautiful chart for data visualization.
Stars: โœญ 5,041 (+100720%)
Mutual labels:  easy
Easyreveal
Android Easy Reveal Library
Stars: โœญ 338 (+6660%)
Mutual labels:  easy
Easy.common
A set of useful utilities and helpers used across Easy.* projects.
Stars: โœญ 306 (+6020%)
Mutual labels:  easy

ezapi

import "github.com/paijerry/ezapi"

Install

go get -u -v "github.com/paijerry/ezapi"

Overview

Package ezapi can help you call api easier

Index

Package files

ezapi.go

type EzAPI

type EzAPI struct {
    // contains filtered or unexported fields
}

EzAPI is the main struct of this package

func New

func New() *EzAPI

New create an EzAPI object

func (*EzAPI) Do

func (ez *EzAPI) Do(method string) (rspn Rspn, err error)

Do the http request

func (*EzAPI) Form

func (ez *EzAPI) Form(form url.Values) *EzAPI

Form add form("application/x-www-form-urlencoded") by a url.Values object ("Content-Type", "application/x-www-form-urlencoded")

func (*EzAPI) FormData

func (ez *EzAPI) FormData(form url.Values) *EzAPI

FormData add formdata by a url.Values object (no Content-Type)

func (*EzAPI) Header

func (ez *EzAPI) Header(header http.Header) *EzAPI

Header add head by a http.Header object

func (*EzAPI) JSON

func (ez *EzAPI) JSON(body []byte) *EzAPI

JSON add json of []byte

func (*EzAPI) URL

func (ez *EzAPI) URL(url string) *EzAPI

URL set url

func (*EzAPI) URLQuery

func (ez *EzAPI) URLQuery(urlquery url.Values) *EzAPI

URLQuery add urlquery into url

type Rspn

type Rspn struct {
    Header     http.Header
    Body       []byte
    StatusCode int
}

Rspn - contains response data


Generated by godoc2md

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].