AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   SM API login? (https://forums.alliedmods.net/showthread.php?t=273377)

404UserNotFound 10-18-2015 02:48

SM API login?
 
I tried to login on https://sm.alliedmods.net/api/ and it's telling me my PW is incorrect. Is there a separate registration page for the API?

I went to leave a comment on the CreateDialog function's page, but it said I need to log in.

Mitchell 10-18-2015 19:13

Re: SM API login?
 
Isn't that the old API page?

404UserNotFound 10-19-2015 00:07

Re: SM API login?
 
Quote:

Originally Posted by Mitchell (Post 2354568)
Isn't that the old API page?

I dunno. What one do you use? I use the one I linked to.

ddhoward 10-19-2015 00:09

Re: SM API login?
 
Quote:

Originally Posted by abrandnewday (Post 2354619)
I dunno. What one do you use? I use the one I linked to.

Use the one that's kept up to date, and linked to from the sourcemod.net main page.

http://sm.alliedmods.net/new-api/

404UserNotFound 10-19-2015 00:20

Re: SM API login?
 
Quote:

Originally Posted by ddhoward (Post 2354621)
Use the one that's kept up to date, and linked to from the sourcemod.net main page.

http://sm.alliedmods.net/new-api/

Oh jeez how in the heck did I miss that for so long?

And hey, this is what I was trying to leave in a comment on the old API, under CreateDialog.

Potato Uno 10-19-2015 01:02

Re: SM API login?
 
The new API site is shit because of the lack of user comments (and it doesn't seem like you can add any).

The old API had people write comments with additional info or "gotchas" so that people looking at it will be aware of them.

(That and the new API doesn't mention default/optional parameter values for function prototypes. Oh, and it also doesn't work on mobile devices.)

RedSword 10-19-2015 01:38

Re: SM API login?
 
Quote:

Originally Posted by Potato Uno (Post 2354627)
The new API site is shit because of the lack of user comments (and it doesn't seem like you can add any).

The old API had people write comments with additional info or "gotchas" so that people looking at it will be aware of them.

(That and the new API doesn't mention default/optional parameter values for function prototypes. Oh, and it also doesn't work on mobile devices.)

I do share that POV about losing comments :(. I asked a few questions on irc a few months back :

Code:

Mar 10 18:27:54 <dvander>        i dont know of any plans to add a commenting system to the new api page
And just so you know :

Code:

Mar 10 18:29:52 <dvander>        RedSword: i'm not denying the utility, i'm just saying it probably won't get done because no one's doing it.
Mar 10 18:29:56 <thorrr>        If the comment is actually helpful, and the answer is correct, chances are it should be in docs
Mar 10 18:30:08 <dvander>        if there's a problem with the API, it should just be addressed in the .inc
Mar 10 18:30:12 <thorrr>        in an "official" capacity
Mar 10 18:30:17 <dvander>        ^
Mar 10 18:30:24 <asherkin>        like most open source projects, we don't have any technical writers
Mar 10 18:30:48 <asherkin>        so the docs are bare-minimum

I tried to do a small change to the documentation of a function (like 6 months ago). I'd prefer it as a comment, but since it's impossible, you have to request a documentation change, which will be denied if its too specific (for example saying that team 2 is the CTs in CSGO when using GetClientTeam()); so yes, we really lost something in the new-api.

And :

Code:

Mar 10 18:36:14 <RedSword>        also why are we switching to a new api ?
Mar 10 18:36:39 <dvander>        we wanted methodmaps to be documented

Red

Starbish 10-19-2015 02:37

Re: SM API login?
 
Quote:

Originally Posted by Potato Uno (Post 2354627)
The new API site is shit because of the lack of user comments (and it doesn't seem like you can add any).

The old API had people write comments with additional info or "gotchas" so that people looking at it will be aware of them.

(That and the new API doesn't mention default/optional parameter values for function prototypes. Oh, and it also doesn't work on mobile devices.)

Both of API site is working on mobile platform.. at least on my Android tablet.

Neuro Toxin 10-19-2015 19:04

Re: SM API login?
 
The new API is missing the search box on my mobile :P

It's a shitty samsung s3

Starbish 10-20-2015 01:56

Re: SM API login?
 
Quote:

Originally Posted by Neuro Toxin (Post 2354857)
The new API is missing the search box on my mobile :P

It's a shitty samsung s3

lel... my samsung tablet is fine though xD

Isn' that a problem of browser?


All times are GMT -4. The time now is 03:40.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.