Float 1.0.4-alpha
See the version list below for details.
dotnet add package Float --version 1.0.4-alpha
NuGet\Install-Package Float -Version 1.0.4-alpha
<PackageReference Include="Float" Version="1.0.4-alpha" />
paket add Float --version 1.0.4-alpha
#r "nuget: Float, 1.0.4-alpha"
// Install Float as a Cake Addin
#addin nuget:?package=Float&version=1.0.4-alpha&prerelease
// Install Float as a Cake Tool
#tool nuget:?package=Float&version=1.0.4-alpha&prerelease
Float
This is a C# wrapper for the Float api: http://dev.float.com/
Float Authorization
Float requires an auth token on all their requests. They also request that you include a User-Agent header. There are two ways to set these.
Config File
The first way is in the config file like this:
<appSettings>
<add key="FloatAuthToken" value="TOKEN" />
<add key="FloatUserAgent" value="AGENT" />
</appSettings>
In Code
The second way is in code:
FloatConfig.AuthToken = "TOKEN";
FloatConfig.UserAgent = "AGENT";
How it works
The code has a mechanism for detecting changes and only sending changed fields in creates and updates. The only exception are collections. If an object includes a collection, it will always be sent. (Note: if anyone wants to update this please do and create a pull request.)
When getting objects from the api, it will automatically set all the properties to clean. Any changes will be tracked and updated on update.
Issues
Please add any issues you find and I will do my best to fix them.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Newtonsoft.Json (>= 10.0.1)
- RestSharp (>= 105.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.7-alpha | 785 | 5/25/2018 |
1.0.6-alpha | 793 | 5/25/2018 |
1.0.5-alpha | 768 | 5/25/2018 |
1.0.4-alpha | 724 | 4/23/2018 |
1.0.3-alpha | 765 | 10/16/2017 |
1.0.2-alpha | 761 | 10/13/2017 |
1.0.1-alpha | 728 | 10/13/2017 |
1.0.0-alpha | 737 | 10/13/2017 |
Can now update tags on projects