New plugin available: Cloud (access to Box, Dropbox, etc).
Moderators: Hacker, petermad, Stefan2, white
+1 for mega if possible!iana wrote:is mega a possibility the 50GiB of free storage is appealing
https://mega.co.nz/#doc
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Mega uses a completely different access model (not REST API) with local data encryption. It could be done in a separate plugin, but not this plugin.
2flm404
Mail.ru seems possible. Here are the docs:
http://api.mail.ru/docs/guides/restapi/
However, they also require a parameter "User ID" (UID). I couldn't find out what this parameter is - it seems to be numeric, not the e-mail address. Could you log into your mail.ru account and try to find out how to get it, please?
2flm404
Mail.ru seems possible. Here are the docs:
http://api.mail.ru/docs/guides/restapi/
However, they also require a parameter "User ID" (UID). I couldn't find out what this parameter is - it seems to be numeric, not the e-mail address. Could you log into your mail.ru account and try to find out how to get it, please?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Senior Member
- Posts: 284
- Joined: 2011-09-23, 10:35 UTC
@edit:
Hello i think that "User ID" (UID) you can get from url for ex.:
http://appsmail.ru/platform/mail/(login)/ -> response to (http://my.mail.ru/mail/(login)/)
http://appsmail.ru/platform/community/(communitylogin)/ -> response to (http://my.mail.ru/community/(communitylogin)/)
uid depends from url for
http://appsmail.ru/platform/mail/ammo/
will be
{"uid":"17262154615607684006"}
for
http://appsmail.ru/platform/community/ammo/
will be
{"uid":"17262154619882993990"}
However uid from mail or community probably wont work with cloud... & i can't find other uid info..
@edit2:
If you still looking for logout for Yandex i have something like this:
https://passport.yandex.com/?mode=logout&yu=(somenumbers)&retpath=http://www.yandex.com&clean=yes
Hello i think that "User ID" (UID) you can get from url for ex.:
http://appsmail.ru/platform/mail/(login)/ -> response to (http://my.mail.ru/mail/(login)/)
http://appsmail.ru/platform/community/(communitylogin)/ -> response to (http://my.mail.ru/community/(communitylogin)/)
uid depends from url for
http://appsmail.ru/platform/mail/ammo/
will be
{"uid":"17262154615607684006"}
for
http://appsmail.ru/platform/community/ammo/
will be
{"uid":"17262154619882993990"}
However uid from mail or community probably wont work with cloud... & i can't find other uid info..
@edit2:
If you still looking for logout for Yandex i have something like this:
https://passport.yandex.com/?mode=logout&yu=(somenumbers)&retpath=http://www.yandex.com&clean=yes
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2krasusczak
Did you find anything in the docs (to which I linked) on how to get this UID? If the end user cannot find it, it would be quite useless to add mail.ru support. Maybe there is a function to get it when sending username and password? It doesn't seem to be returned in the normal OAUTH login function.
Did you find anything in the docs (to which I linked) on how to get this UID? If the end user cannot find it, it would be quite useless to add mail.ru support. Maybe there is a function to get it when sending username and password? It doesn't seem to be returned in the normal OAUTH login function.
Yes, I'm still looking for it - but what is the "somenumbers"? Also, to my knowledge, oauth.yandex.com and passport.yandex.com are separate logins.If you still looking for logout for Yandex i have something like this
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Senior Member
- Posts: 284
- Joined: 2011-09-23, 10:35 UTC
Regarding to this doc: http://api.mail.ru/docs/guides/url-to-uid/
End-user can find uid in two ways by checking this links:
for mail:
http://appsmail.ru/platform/mail/(login)/ -> response to (http://my.mail.ru/mail/(login)/)
for community:
http://appsmail.ru/platform/community/(communitylogin)/ -> response to (http://my.mail.ru/community/(communitylogin)/)
or he can use javascript & bookmarklet but basically this is exactly the same as first method only in different way...
because my cloud opens as https://cloud.mail.ru/home/ maybe uid from mail will be good..
sorry i didn't have time to look exactly what is this "somenumbers", this is from cookie:
domain: ".yandex.com"
name: "yandexuid"
logout: https://passport.yandex.com/?mode=logout&yu=(yandexuid)&retpath=http://www.yandex.com&clean=yes
but i can also login to yandex from yandex.ru & then i will have cookie:
domain: ".yandex.ru"
name: "yandexuid"
logout: https://passport.yandex.ru/?mode=logout&yu=(yandexuid)&retpath=http://www.yandex.ru&clean=yes
Both links work separately i can logoff from ru & com will still works, i can logoff from com & ru will still works
oauth.yandex.com may have same login but i'm not sure
End-user can find uid in two ways by checking this links:
for mail:
http://appsmail.ru/platform/mail/(login)/ -> response to (http://my.mail.ru/mail/(login)/)
for community:
http://appsmail.ru/platform/community/(communitylogin)/ -> response to (http://my.mail.ru/community/(communitylogin)/)
or he can use javascript & bookmarklet but basically this is exactly the same as first method only in different way...
because my cloud opens as https://cloud.mail.ru/home/ maybe uid from mail will be good..
sorry i didn't have time to look exactly what is this "somenumbers", this is from cookie:
domain: ".yandex.com"
name: "yandexuid"
logout: https://passport.yandex.com/?mode=logout&yu=(yandexuid)&retpath=http://www.yandex.com&clean=yes
but i can also login to yandex from yandex.ru & then i will have cookie:
domain: ".yandex.ru"
name: "yandexuid"
logout: https://passport.yandex.ru/?mode=logout&yu=(yandexuid)&retpath=http://www.yandex.ru&clean=yes
Both links work separately i can logoff from ru & com will still works, i can logoff from com & ru will still works
oauth.yandex.com may have same login but i'm not sure
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Is it possible to get the UID programmatically? I can't expect that normal users will find their UID.End-user can find uid in two ways
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Senior Member
- Posts: 284
- Joined: 2011-09-23, 10:35 UTC
Like i wrote before for now i have found only this way, i will try to search more
p.s.
but normal user don't need to know how to find the uid, maybe it can be done like this:
User provide login & password
Before plugin send data to oauth, first will read http from http://appsmail.ru/platform/mail/(userlogin) & then give all data to oauth
of course this will works if uid from mail.ru will work on cloud if not i have no idea...
@edit:
maybe instead of $uid you can use $session_key (basically they recommended usage of session_key), after login you should get session_key
p.s.
but normal user don't need to know how to find the uid, maybe it can be done like this:
User provide login & password
Before plugin send data to oauth, first will read http from http://appsmail.ru/platform/mail/(userlogin) & then give all data to oauth

of course this will works if uid from mail.ru will work on cloud if not i have no idea...
@edit:
maybe instead of $uid you can use $session_key (basically they recommended usage of session_key), after login you should get session_key
-
- Senior Member
- Posts: 284
- Joined: 2011-09-23, 10:35 UTC
Christian because I'm not so familiar with API maybe this links help you, there is some working code with mail.ru API:
http://sysmagazine.com/posts/126872/
https://github.com/ademin/mailru-api
https://github.com/kostya-ten/Mojolicious-Plugin-OAuth/blob/master/lib/Mojolicious/Plugin/OAuth/Mailru.pm
http://sysmagazine.com/posts/126872/
https://github.com/ademin/mailru-api
https://github.com/kostya-ten/Mojolicious-Plugin-OAuth/blob/master/lib/Mojolicious/Plugin/OAuth/Mailru.pm
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks, I will have a look at it! Maybe I can find out how to get this user id...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 18
- Joined: 2003-03-13, 14:55 UTC
- Location: Netherlands
I'm not sure if this is usefull? Would be great if the plugin supports OneDrive for Business...ghisler(Author) wrote:Unfortunately this doesn't support the normal REST API of the normal OneDrive API. I don't know whether it supports a REST API at all. You should be able to access it with the WebDAV plugin, though, after you have logged into your account in Internet Explorer.
http://blogs.msdn.com/b/sharepointdev/archive/2013/08/13/access-skydrive-pro-using-the-sharepoint-2013-apis.aspx
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Hmm, looks rather complex - I couldn't figure out how to query the content of a folder, and how to download or upload a file.
Have you tried my suggestion to use my WebDAV plugin instead? Other users have reported that it works well.
Have you tried my suggestion to use my WebDAV plugin instead? Other users have reported that it works well.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Yes it would - but each cloud service seems to have a radically different permission management, so it would be quite hard to support that. For example, Google Drive allows to share a file with no one, certain users by their mail address, and to everyone who has the link.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com