You can find some basic information about citing sources in AMA under the tab, Reference Page -- Print Sources
The basic format when referencing an article in an online journal is as follows:
AuthorLastname FirstInitialMiddleInitial. Title written in sentence case. Journal Name. Year;vol(issue no.):inclusive pages. doi:######. Date accessed only if DOI is unavailable. URL only if DOI is unavailable.
Example:
-- Purdue OWL (https://owl.purdue.edu/owl/research_and_citation/ama_style/electronic_sources.html)
The basic format when referencing to an internet-based book is as follows. Note: If the reference is to the entire book, the information about chapter title and inclusive pages is not included.
AuthorLastname FirstInitialMiddleIntial. Chapter title written in sentence case. In: Editor(s). Book Title. Edition number, if it is the second edition or above (mention of first edition is not necessary). Book medium. Publisher’s name; copyright:chapter/inclusive pages. Accessed [date]. URL [provide URL and verify that the link still works as close as possible to the time of publication].
When citing data from a website, include the following elements, if available, in the order shown below:
AuthorLastname FirstInitialMiddleInitial or the name of the group. Title of the specific item cited (if none is given, use the name of the organization responsible for the site). Name of the website. Date published. Updated date. Accessed date. URL [provide URL and verify that the link still works as close as possible to publication].
-- Purdue OWL (https://owl.purdue.edu/owl/research_and_citation/ama_style/electronic_sources.html)