mathieukempe / pexelsnet Goto Github PK
View Code? Open in Web Editor NEWPexelsNet is a .NET class library that provides an easy-to-use interface for the https://www.pexels.com/ web api
License: MIT License
PexelsNet is a .NET class library that provides an easy-to-use interface for the https://www.pexels.com/ web api
License: MIT License
It'd be good to add support for the popular photos method as well as search:
http://api.pexels.com/v1/popular?per_page=15&page=1
Cheers
It would be nice to add nuget package
Please target .NET Core.
The library only supports .NET Framework.
Because you call this line in the constructor:
Client.DefaultRequestHeaders.TryAddWithoutValidation("Authorization", apiKey);
You are adding the authorization key every time we instanciate the client.
Make sure you don't add this line all the time otherwise it sends the Authorization key more than once.
I am forced to use this PixelClient as a singleton.
This project does not work as is.
Opening a bug here so people don't use it directly.
I'm in PST. GMT-8
PexelsNet.Tests.RateLimitTests.CanParseRateLimitFromHttpResponseMessage
Source: RateLimitTests.cs line 18
Duration: 39 ms
Message:
Assert.Equal() Failure
โ (pos 11)
Expected: 2019-04-28 14:29
Actual: 2019-04-28 06:29
โ (pos 11)
Stack Trace:
RateLimitTests.CanParseRateLimitFromHttpResponseMessage() line 33
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.