Coder Social home page Coder Social logo

enkanetwork-rs's Introduction

enkanetwork-rs

Client library for the API provided at https://enka.network/

example

Cargo.toml

[dependencies]
enkanetwork-rs={git="https://github.com/eratou/enkanetwork-rs.git",rev="02805cedc141da2f3ef60b769465b3d230dff913"}

main.rs

fn main(){
	let api=enkanetwork_rs::EnkaNetwork::new().unwrap();
	enkanetwork_rs::block_on(async move{
		match api.simple(837338702).await{
			Ok(data)=>{
				println!("{:?}",data);
			},
			Err(e)=>println!("{}",e)
		}
	}).unwrap();
}

other examples

features

Name Description
async-io file access by async-std
text text render utilities
vector-icon svg icon utilities
redis-cache memory cache replace to redis

target support

  • x86_64-pc-windows-msvc
  • x86_64-pc-windows-gnu
  • x86_64-unknown-linux-gnu
  • x86_64-unknown-linux-musl
  • i686-pc-windows-gnu
  • i686-unknown-linux-gnu
  • i686-unknown-linux-musl
  • wasm32-unknown-unknown
  • aarch64-unknown-linux-musl
  • aarch64-unknown-linux-gnu

License

Apache 2.0 or MIT

enkanetwork-rs's People

Contributors

eratou avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

neodyland

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.