Converting javascript fetch code to equivalent C# code

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • dirigera

    An unofficial TypeScript client library for IKEA's DIRIGERA smart home hub (by lpgera)

    Hi, I am trying to automate ikea dirigera and I found some code at dirigera/src at main · lpgera/dirigera · GitHub . The code is in Javascript and I was planning to convert it in C# and adding some more features on top of it. Currently, I am converting a function in this page dirigera/index.ts at main · lpgera/dirigera · GitHub . I managed to do so for the first http call and I obtained the code. However, I cannot seem to convert the second http call (access token) into equivalent call. This is my code.

  • Flurl.Http

    Fluent URL builder and testable HTTP client for .NET

    As far as your code goes, take a look at flurl (https://flurl.dev/). It is oh so much cleaner and more readable than the httpclient stuff.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts