以编程方式登录到新的大本营[无需用户干预] [英] Login to new basecamp programatically [without user intervention]

查看:81
本文介绍了以编程方式登录到新的大本营[无需用户干预]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想做的是:

我正在尝试将我的Web应用程序与basecamp集成.用户登录时 到我的Web应用程序,它应该列出分配给他/她的所有任务/待办事项 大本营.

I am trying to integrate my web application with basecamp. When a user logs in to my web application, it should list all tasks/todo's assigned to him/her in basecamp.

我已经拥有的内容:

我拥有管理所有人员的basecamp管理员凭据 产品/应用程序待办事项,客户端ID,客户端密钥,ProductName/appName和 重定向网址(在应用设置中可用)

I have admin credentials of basecamp from where I manage all products/applications todos, Client Id, Client Secret, ProductName/appName and redirect url (available in app. settings)

  1. 是否可以在后台/以编程方式登录basecamp(无需 用户干预)并获得所有待办事项和相关信息的详细信息?

  1. Is it possible to login to basecamp in background/programatically (without user intervention) and get details of all todo's and related information?

如果是,那么如何?

上面提到的参数足以做到这一点吗?如果没有,那怎么能 我实现了吗?

Are the parameters mentioned above enough to do this? If not, then how can I achieve this?

有人可以引导我吗?

我已经在Google上搜索了很多,但无法获得完整的解决方案.

I've Googled a lot but could not get a complete solution.

引用的链接:

  • HTTPS connection with basic auth result into Unauthorized
  • https://github.com/37signals/api/blob/master/sections/authentication.md
  • https://github.com/37signals/basecamp-classic-api/blob/master/sections/data_reference.md#person
  • https://github.com/mark-hahn/basecamp/blob/master/basecamp.coffee
  • http://www.gregaker.net/2012/feb/25/oauth-the-37-signals-api/

推荐答案

是否可以在后台/以编程方式登录到大本营 (无需用户干预),并获取所有待办事项及相关信息的详细信息 信息吗?

Is it possible to login to basecamp in background/programatically (without user intervention) and get details of all todo's and related information?

是的,有可能.只需您必须从用户那里收集用户名,密码和域.

Yes it is possible. Just you will have to collect the username, password and domain from the user.

您可以从 http://developer.37signals.com/basecamp中找到所有APis/index.shtml 另外,要登录,您将必须处理https协议,因此您必须遵循这篇文章.

You can find out all the APis from http://developer.37signals.com/basecamp/index.shtml Also for login you will have to deal with https protocol so you will have to follow this post.

上面提到的参数足以做到这一点吗?如果没有,那怎么 我能做到吗?

Are the parameters mentioned above enough to do this? If not, then how can I achieve this?

是的,我认为这些参数足以登录.您需要提供用户名,密码和域信息.

Yes I think these parameters are enough to login. You have required Username, Password and Domain information.

Basecamp提供xml格式的完整REST API.它具有GET,POST,PUT和DELETE的所有方法.

Basecamp provides complete REST APIs in xml format. It has all the methods GET, POST, PUT and DELETE.

别忘了将请求标头设置为application/xml.

Don't forget to set request header to application/xml.

希望您会得到答案.

这篇关于以编程方式登录到新的大本营[无需用户干预]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆