Announcements
Do you have an idea for Dropbox Paper? Share it with us here!
Highlighted

Basic understanding of of Dropbox API .NET

Explorer | Level 3

I'm not sure if it's just me but I'm having a real hard time trying to understand the very basics of the .NET API. The tutorial recommended that I create an app which I could then connect to via api secrets and what not. How do I access this app? Is there no way to create/edit folders and items in UI? Is it possible to use the API to connect to another person's dropbox folder (even though they don't have the 'app' that was created for api)? 

1 Accepted solution

Accepted Solutions

Re: Basic understanding of of Dropbox API .NET

Dropboxer

When you "create" a Dropbox API app on the Dropbox App Console, you're essentially just registering an app with us so that you can access the Dropbox API. Exactly where and how you write the code that does so is up to you, as is the UI for your app.

For instance, if you're writing a project in .NET (say, in Visual Studio), we recommend using the official Dropbox API v2 .NET SDK, as it will do much of the work of connecting to Dropbox for you. 

For instance, to create a folder, you would use the CreateFolderV2Async method, or to upload a file you can use the UploadAsync method.

To allow arbitrary end-users to connect their own Dropbox accounts to your app, you should implement the OAuth app authorization flow in your app. The .NET SDK offers a helper for that. I recommend checking out the included examples as a sample of how this works.

Reply
Loading...
1 Reply

Re: Basic understanding of of Dropbox API .NET

Dropboxer

When you "create" a Dropbox API app on the Dropbox App Console, you're essentially just registering an app with us so that you can access the Dropbox API. Exactly where and how you write the code that does so is up to you, as is the UI for your app.

For instance, if you're writing a project in .NET (say, in Visual Studio), we recommend using the official Dropbox API v2 .NET SDK, as it will do much of the work of connecting to Dropbox for you. 

For instance, to create a folder, you would use the CreateFolderV2Async method, or to upload a file you can use the UploadAsync method.

To allow arbitrary end-users to connect their own Dropbox accounts to your app, you should implement the OAuth app authorization flow in your app. The .NET SDK offers a helper for that. I recommend checking out the included examples as a sample of how this works.

Reply
Loading...
API Support

Have a question? Our Dropbox Community is here to help you find an answer!
You won’t have to wait too long for a reply, but why not learn more about the Community while you’re here.

Not the right discussion for you? Find out what else our Community has to say about API Support.

Or, search our Help Center for even more.

Who's talking
Top contributors to this post