paint-brush
How To Create Simple API Client with ZIO and Http4sby@juliano-alves
1,213 reads
1,213 reads

How To Create Simple API Client with ZIO and Http4s

by Juliano Alves8mJuly 1st, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

How To Create Simple API Client with ZIO and Http4s.535 reads/535535 reads. Juliano Alves is an open-source enthusiast and functional programming enthusiast. The API supports only GET requests, what makes the trait definition very simple: get [ T ](uri: String, parameters: Map [ String, String ]) ( implicit d: Decoder [ T]): Task [T) ( implicit t: T) (implicit d: T ) (implied d: t) (Implicit t) is a type alias for ZIO[Any, Throwable, T], which represents an effect that has no requirements, and may fail with avalue, or succeed.

Company Mentioned

Mention Thumbnail
featured image - How To Create Simple API Client with ZIO and Http4s
Juliano Alves HackerNoon profile picture
Juliano Alves

Juliano Alves

@juliano-alves

Open-source enthusiast, a firm believer that future belongs to polyglot and functional programming

Learn More
LEARN MORE ABOUT @JULIANO-ALVES'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Juliano Alves HackerNoon profile picture
Juliano Alves@juliano-alves
Open-source enthusiast, a firm believer that future belongs to polyglot and functional programming

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite