Description
This is a simple but yet powerful web API wrapper of the DuckDuckGo Instant Answer API.
DuckSharp alternatives and similar packages
Based on the "API" category.
Alternatively, view DuckSharp alternatives based on common mentions on social networks and blogs.
-
Xamarin.Essentials
Xamarin.Essentials provides developers with cross-platform APIs for their mobile applications. -
FFImageLoading - Fast & Furious Image Loading
Fast & Furious Image Loading -
TLSharp
It's a perfect fit for any developer who would like to send data directly to Telegram users or write own custom Telegram client. -
Mobius: C# API for Spark
Mobius adds C# language binding to Apache Spark, enabling the implementation of Spark driver code and data processing operations in C#. -
SapphireDb
SapphireDb Server, a self-hosted, easy to use realtime database for Asp.Net Core and EF Core -
RedditSharp
C# Implementation of the Reddit API. This is an ("unofficial") Fork of SirCmpwn/RedditSharp with Nuget package/support. -
Nelibur
Nelibur is message based web service framework on the pure WCF. Nelibur simplifies creating high-performance and message based web services and you certainly have all the power of the WCF. -
Lib.AspNetCore.ServerSentEvents
Lib.AspNetCore.ServerSentEvents is a library which provides Server-Sent Events (SSE) support for ASP.NET Core -
Breeze
Api framework enabling rich data access by using the OData 3 protocol. Client libraries available for Javascript and C#. -
Lib.Web.Mvc
Lib.Web.Mvc is a library bringing extensions to ASP.NET MVC for HTTP/2, Range Requests, Content Security Policy, jqGrid and more. -
CommandQuery
Command Query Separation for ASP.NET Web API 2, ASP.NET Core, AWS Lambda and Azure Functions. -
Developer Exception Json Response Middleware
Developer Exception Json Response Middleware -
ASP.NET Web API
Framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices -
ASP.NET WebAPI
Framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices
Get performance insights in less than 4 minutes
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of DuckSharp or a related project?
README
DuckSharp
This is a simple but yet powerful web API wrapper of the DuckDuckGo Instant Answer API.
Getting Started
Requirements
DuckSharp targets .NET Standard 1.1 - so your project must be compatible with it. See Microsoft's guide on .NET Standard.
Installation
DuckSharp can be installed from NuGet. You can install it from Visual Studio's userinterface, or from the package manager console:
PM> Install-Package TheMulti0.DuckSharp
Alternatively, you can use the .NET Core CLI:
> dotnet add package TheMulti0.DuckSharp
Basic Usage
The simplest way to get an instant answer from DuckDuckGo using DuckSharp is the following (the following examples do not implement the IDisposable
interface of the client, please wrap the client with a using
statement when using it):
await new DuckSharpClient().GetInstantAnswerAsync("Apple");
You can also get !bang redirect urls:
await new DuckSharpClient().GetBangRedirectAsync("!youtube Kanye West - Fade");
For the full documentation, be sure to checkout this project's wiki page!
License
This project is licensed under the MIT license
Contributing
If any of you wants to contribute to this project, you can submit a pull request here, I promise that I'll review any pull request that will be submitted.
Please use my .dotsettings
file and preserve Microsofts C# conventions and my coding style!
*Note that all licence references and agreements mentioned in the DuckSharp README section above
are relevant to that project's source code only.