Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/olsh/sentry-api-client
A Sentry API client for .NET
https://github.com/olsh/sentry-api-client
Last synced: 14 days ago
JSON representation
A Sentry API client for .NET
- Host: GitHub
- URL: https://github.com/olsh/sentry-api-client
- Owner: olsh
- License: mit
- Created: 2019-09-04T20:15:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-09-19T15:01:39.000Z (about 2 years ago)
- Last Synced: 2024-10-17T16:21:41.036Z (27 days ago)
- Language: C#
- Homepage:
- Size: 50.8 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sentry API client
![CI](https://github.com/olsh/sentry-api-client/workflows/CI/badge.svg)
![Nuget](https://img.shields.io/nuget/v/Io.Sentry.Client)This is a library for [Sentry web API](https://docs.sentry.io/api/),
if you are looking for reporting API(submitting events) take a look at the library https://github.com/getsentry/sentry-dotnet# Getting started
```csharp
// Initialize client with token
var sentryClient = new SentryApiClient(token);// Gets the first page of projects
var projects = sentryClient.Projects.GetAsync();// Get all projects
var allProjects = new List(pagedCollection.Collection);
while (pagedCollection.Pagination.HasNext)
{
pagedCollection = await client.LoadNextPageAsync(pagedCollection);
allProjects.AddRange(pagedCollection.Collection);
}
```# Known issues
Most of the API call is not implemented yet