Skip to content

https://enka.network/ で提供されるAPIのrust製クライアントライブラリ

Notifications You must be signed in to change notification settings

eratou/enkanetwork-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

https://enka.network/ で提供されるAPIのrust製クライアントライブラリ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages