mirror of
https://dev.azure.com/tstanciu94/PhantomMind/_git/Bitip
synced 2025-10-13 01:52:19 +03:00
Compare commits
No commits in common. "c7f26a78a28f67ee5c207a1c4300aca7d013930d" and "f227523fceecfa7d404933c151e5c5e776819c24" have entirely different histories.
c7f26a78a2
...
f227523fce
@ -3,12 +3,6 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net9.0</TargetFramework>
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<PackageProjectUrl>https://lab.code-rove.com/bitip/</PackageProjectUrl>
|
|
||||||
<PackageIcon>logo.png</PackageIcon>
|
|
||||||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
|
||||||
<RepositoryUrl>https://lab.code-rove.com/gitea/tudor.stanciu/bitip/src/branch/main/src/clients/dotnet</RepositoryUrl>
|
|
||||||
<PackageTags>Bitip Toodle</PackageTags>
|
|
||||||
<PackageReleaseNotes>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/ReleaseNotes.txt"))</PackageReleaseNotes>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@ -16,15 +10,4 @@
|
|||||||
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.9" />
|
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.9" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<None Update="logo.png">
|
|
||||||
<Pack>True</Pack>
|
|
||||||
<PackagePath>\</PackagePath>
|
|
||||||
</None>
|
|
||||||
<None Update="README.md">
|
|
||||||
<Pack>True</Pack>
|
|
||||||
<PackagePath>\</PackagePath>
|
|
||||||
</None>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
# Bitip.Client
|
|
||||||
|
|
||||||
[Bitip](https://lab.code-rove.com/gitea/tudor.stanciu/bitip#readme) is a high-performance GeoIP lookup service designed to provide accurate geolocation data for IP addresses.
|
|
||||||
|
|
||||||
-------- TO DO --------
|
|
||||||
- You can see Bitip live here: https://lab.code-rove.com/bitip/
|
|
||||||
|
|
||||||
[Bitip.Client](https://lab.code-rove.com/gitea/tudor.stanciu/bitip/src/branch/main/src/clients/dotnet) is a simple .net client for Bitip. SDK is available as NuGet package on [NuGet](https://lab.code-rove.com/public-nuget-server/packages/bitip.client). Detail this section.
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
You can install the Bitip.Client package via NuGet Package Manager Console:
|
|
||||||
```bash
|
|
||||||
|
|
||||||
Install-Package Bitip.Client
|
|
||||||
```
|
|
||||||
Or via .NET CLI:
|
|
||||||
```bash
|
|
||||||
|
|
||||||
--- TO DO ---
|
|
@ -1,8 +0,0 @@
|
|||||||
1.0.0 release [2025-10-08 01:35]
|
|
||||||
◾ Initial release of BitipClient, a .NET library for interacting with the Bitip API.
|
|
||||||
◾ Provides methods for retrieving IP geolocation data, ASN information, and domain details.
|
|
||||||
◾ Supports asynchronous operations for improved performance.
|
|
||||||
◾ Includes error handling for network issues and invalid API responses.
|
|
||||||
◾ Comprehensive documentation and usage examples included.
|
|
||||||
◾ Unit tests covering core functionality to ensure reliability.
|
|
||||||
◾ NuGet package available for easy integration into .NET projects.
|
|
@ -1,16 +1,8 @@
|
|||||||
// Copyright (c) 2025 Tudor Stanciu
|
// Copyright (c) 2025 Tudor Stanciu
|
||||||
|
|
||||||
using Bitip.Client.Models;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Bitip.Client.Services
|
namespace Bitip.Client.Services
|
||||||
{
|
{
|
||||||
public interface IBitipClient
|
public interface IBitipClient
|
||||||
{
|
{
|
||||||
Task<HealthInfo> GetHealth(CancellationToken cancellationToken = default);
|
|
||||||
Task<VersionInfo> GetVersion(CancellationToken cancellationToken = default);
|
|
||||||
Task<IpLocation> GetIpLocation(string ip, CancellationToken cancellationToken = default);
|
|
||||||
Task<DetailedIpLocation> GetDetailedIpLocation(string ip, CancellationToken cancellationToken = default);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 58 KiB |
Loading…
x
Reference in New Issue
Block a user