Coder Social home page Coder Social logo

bcanseco / common-bot-library Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 791 KB

:globe_with_meridians: An asynchronous .NET library of API wrappers designed to help with typical bot commands.

Home Page: https://borja.io/CBL

License: MIT License

C# 94.30% PowerShell 3.85% Shell 1.85%
api-wrapper bot cbl chat-bot chatbot omdb-api opentdb openweathermap urbandictionary

common-bot-library's Introduction

common-bot-library's People

Contributors

bcanseco avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

sepppenner

common-bot-library's Issues

Add ImgurService

https://api.imgur.com/3/gallery/search?q=query
Also take note of their compound query capabilities (including file extension choice!)

Standardize exceptions and params

If something can't be null, throw an ArgumentNullException.

Also, go through each service and see which actually return an HTTP code on failure (essentially resulting in a thrown HttpRequestException) and which do not. Maybe the custom exceptions can be removed in favor of something built in?

Improve OWM Service

Pulling from the XML API will net more useful fields (like a city/country code?).
Look into the newest JSON.NET release which might do the XML parsing.

Add Cloud APIs

The do-able ones:

Google

  • Vision
    • FREE
    • includes color detection

Yandex

  • Translation
    • has language detection
    • inferior competition
      • Microsoft's requires a new token every 10m
      • Bluemix's doesn't have language detection
      • Google's isn't free

Bluemix

  • Personality insights
    • FREE
    • requires body of text

Perf improvements

For services that use third party SDKs, store the wrapped service instance as a private member rather than the API key. This avoids having to reinitialize the instance each time a request is made.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.